diff options
author | Tom Musta | 2014-05-29 16:12:24 +0200 |
---|---|---|
committer | Alexander Graf | 2014-06-16 13:24:40 +0200 |
commit | 4b1daa72d3b68b050bb9013edd0888972a0e22dd (patch) | |
tree | 52fc2bf24c522582b9002b0d478b1c70fb37e3b1 /scripts | |
parent | target-ppc: Confirm That .bss Pages Are Valid (diff) | |
download | qemu-4b1daa72d3b68b050bb9013edd0888972a0e22dd.tar.gz qemu-4b1daa72d3b68b050bb9013edd0888972a0e22dd.tar.xz qemu-4b1daa72d3b68b050bb9013edd0888972a0e22dd.zip |
target-ppc: Store Quadword Conditional Drops Size Bit
The size and register information are encoded into the reserve_info field
of CPU state in the store conditional translation code. Specifically, the
size is shifted left by 5 bits (see target-ppc/translate.c gen_conditional_store).
The user-mode store conditional code erroneously extracts the size by ANDing
with a 4 bit mask; this breaks if size >= 16.
Eliminate the mask to make the extraction of size mirror its encoding.
Signed-off-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions