tcg-sparc: Clean up cruft stemming from attempts to use global registers.
Don't use -ffixed-gN. Don't link statically. Don't save/restoreAREG0 around calls. Don't allocate space on the stack for AREG0 save.
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg-sparc: Support GUEST_BASE.
tcg-sparc: Change AREG0 in generated code to %i0.
We can now move the TCG variable from %g56 to a call-preservedwindowed register.
tcg-sparc: Fix qemu_ld/st to handle 32-bit host.
At the same time, split out the tlb load logic to a new function.Fixes the cases of two data registers and two address registers.Fixes the signature of, and adds missing, qemu_ld/st opcodes.
tcg-sparc: Don't MAP_FIXED on top of the program
The address we pick in sparc64.ld is also 0x60000000, so doing a fixed mapon top of that is guaranteed to blow up. Choosing 0x40000000 is exactlyright for the max of code_gen_buffer_size set below.
No need to ever use MAP_FIXED. While getting our desired address helps...
tcg-sparc: Assume v9 cpu always, i.e. force v8plus in 32-bit mode.
Current code doesn't actually work in 32-bit mode at all. Sinceno one really noticed, drop the complication of v7 and v8 cpus.Eliminate the --sparc_cpu configure option and standardize macro...
linux-user: Use memcpy in get_user/put_user.
When host and target have differing alignment rules, using a castand direct memory operation can result in SIGBUS. Use memcpy instead,which the compiler will happily optimize when alignment is satisfied.
Signed-off-by: Richard Henderson <rth@twiddle.net>...
tcg-sparc: Hack in qemu_ld/st64 for 32-bit.
Not actually implemented, but at least we avoid the tcg assert at startup.
tcg-sparc: Fix ADDX opcode.
Merge branch 'usb.65' of git://git.kraxel.org/qemu
View all revisions | View revisions
Also available in: Atom