qemu/target-sparc
Igor V. Kovalenko 01b5d4e5cc sparc64-8bit-asi
Sparc64 alternate space load/store helpers expect 8 bit ASI value,
while wrasi implementation sign-extends ASI operand causing
for example 0x80 to appear as 0xFFFFFF80. Resulting value falls
out of switch in helpers and causes obscure load/store faults.

- correct wrasi by masking lower 8 bits of xor result
- use lower 8 bits of ASI register in helpers

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2009-09-23 20:00:24 +00:00
..
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
cpu.h cleanup cpu-exec.c, part 0/N: consolidate handle_cpu_signal 2009-08-24 08:21:42 -05:00
exec.h sparc64: trap handling corrections 2009-07-12 08:46:54 +00:00
helper.c Sparc32/64: Fix user emulator breakage 2009-08-18 18:04:38 +00:00
helper.h Use dynamical computation for condition codes 2009-05-10 07:19:11 +00:00
machine.c Sparc64: replace tsptr with helper routine 2009-08-04 20:22:10 +00:00
op_helper.c sparc64-8bit-asi 2009-09-23 20:00:24 +00:00
translate.c sparc64-8bit-asi 2009-09-23 20:00:24 +00:00