qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 03/15] Openrisc: add instructions translation


From: 陳韋任
Subject: Re: [Qemu-devel] [PATCH 03/15] Openrisc: add instructions translation
Date: Fri, 18 May 2012 11:53:36 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

> >> + ? 坟witch (op0) {
> >> + ? ?case 0x10: ? ?/*lf.add.d*/
> >> + ? ? ? 猂OG_DIS("lf.add.d r%d, r%d, r%d\n", rd, ra, rb);
> >> + ? ? ? 慯cg_gen_add_i64(cpu_R[rd], cpu_R[ra], cpu_R[rb]);
> >
> > Through this function you generate integer operations on the
> > registers, although ISA
> > suggests that there should be either single- or double-precision
> > floating point operations.
> >
> 
> Sorry, I  didn't find a TCG-IR that make single- or double-precision
> floating point operations, may you give me some hits?

  I guest you need to write your own floating helper functions to do that.
Am I right, Max? 

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]