diff options
author | Sandipan Das <sandipan@linux.vnet.ibm.com> | 2017-10-06 12:12:44 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-10-17 10:34:00 +1100 |
commit | af1c259f6d4f1c6b0af22a0ff0b764c4ef3ef85e (patch) | |
tree | c35aef8362fa07c002f014c4866070cf8c6bc2e7 /hw/ppc | |
parent | 1ed9c8af501f8d1bdf5a8725a038527be059f54d (diff) | |
download | qemu-af1c259f6d4f1c6b0af22a0ff0b764c4ef3ef85e.zip qemu-af1c259f6d4f1c6b0af22a0ff0b764c4ef3ef85e.tar.gz qemu-af1c259f6d4f1c6b0af22a0ff0b764c4ef3ef85e.tar.bz2 |
target/ppc: Fix carry flag setting for shift algebraic instructions
For POWER ISA v3.0, the XER bit CA32 needs to be set by the shift
right algebraic instructions whenever the CA bit is to be set. This
change affects the following instructions:
* Shift Right Algebraic Word (sraw[.])
* Shift Right Algebraic Word Immediate (srawi[.])
* Shift Right Algebraic Doubleword (srad[.])
* Shift Right Algebraic Doubleword Immediate (sradi[.])
Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc')
0 files changed, 0 insertions, 0 deletions