qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 12/14] tcg-sparc: Use defines for temporaries.


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 12/14] tcg-sparc: Use defines for temporaries.
Date: Thu, 29 Mar 2012 15:04:47 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120316 Thunderbird/11.0

On 03/29/2012 02:56 PM, Blue Swirl wrote:
>> > +        tcg_out_arithi(s, TCG_REG_T1, rs1, 31, SHIFT_SRA);
>> > +        tcg_out_sety(s, TCG_REG_T1);
> By the way, since we assume V9+, this 32 bit division which uses the
> register y could be changed (in some later patch) to use nicer 64 bit
> division.
> 

Good spotting.

Although my next trick will be to make tcg changes such that v8plus can be a 
TCG_TARGET_REG_BITS == 64 host, and do proper 64-bit arithmetic in the %o/%g 
registers.


r~



reply via email to

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