mips: Fix BC1ANY[24]F instructions
commitd7f66b52dee3dd7423a28c0ceb600aec388859cb
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 26 Nov 2011 03:37:07 +0000 (26 03:37 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 19 May 2012 15:51:44 +0000 (19 15:51 +0000)
treebff8fc00c7de231033cd174ffb4e56d31c36139f
parent77a8f1a5125457d845fac6aa0c2e1e2681d94f07
mips: Fix BC1ANY[24]F instructions

There's some dodgy application of De Morgan's law in the emulation
of the MIPS BC1ANY[24]F instructions: they end up branching only
if all CCs are false, rather than if one CC is.

Tested on mips64-linux-gnu, where it fixes the GCC MIPS3D tests.

Signed-off-by: Richard Sandiford <rdsandiford@googlemail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-mips/translate.c