aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/translate.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-02-23 11:55:14 -0800
committerAurelien Jarno <aurelien@aurel32.net>2010-02-27 16:10:49 +0100
commite6bba2ef49670167694b227df13fc8461debbcd5 (patch)
tree37d30bc9f4320bcf0ad0ae2fe1d6a7a1e0272019 /target-ppc/translate.c
parente3b283e94acc6fc304cc54971ee74c5a445a96b6 (diff)
target-ppc: fix SPE evcmp* instructions
The CRF_{CH,CL,CH_OR_CL,CH_AND_CL} constants were all off by one bit position. Because of this, the SPE evcmp* family of instructions would store values in the result condition register that were also off by one bit position. Fixed by using the CRF_{LT,GT,EQ,SO} constants for the shift amounts. Signed-off-by: Nathan Froyd <froydnj@codesourcery.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-ppc/translate.c')
0 files changed, 0 insertions, 0 deletions