qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] target-mips: fix conditional moves off fp condi


From: Aurelien Jarno
Subject: [Qemu-devel] Re: [PATCH] target-mips: fix conditional moves off fp condition codes
Date: Tue, 25 Aug 2009 18:07:44 +0200
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)

Nathan Froyd a écrit :
> Conditional moves off fp condition codes were using the result of
> get_fp_bit to isolate and test the relevant condition code.  However,
> get_fp_bit returns the bit number of the condition code, not a
> bitmask.  (Compare the use of get_fp_bit in gen_compute_branch1, for
> instance.)
> 
> Fixed by shifting a bitmask into place using the result of get_fp_bit in
> the relevant functions (gen_mov{ci,cf_s,cf_d,cf_ps}).
> 

Thanks, applied to both master and stable.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
address@hidden                 http://www.aurel32.net




reply via email to

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