aboutsummaryrefslogtreecommitdiff
path: root/hw/pl022.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-08-25 08:20:00 -0700
committerAurelien Jarno <aurelien@aurel32.net>2009-08-25 18:05:27 +0200
commitfa31af0e63c5629d0bdc63eb87c1e44abd4fdb9e (patch)
tree324fc5ca7a833a786d9202e9d29178246648680c /hw/pl022.c
parent4e6f6d4c20252c6900f01787559b97a559c0b402 (diff)
target-mips: fix conditional moves off fp condition codes
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}). Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pl022.c')
0 files changed, 0 insertions, 0 deletions