mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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. Since no one really noticed, drop the complication of v7 and v8 cpus. Eliminate the --sparc_cpu configure option and standardize macro testing on TCG_TARGET_REG_BITS / HOST_LONG_BITS Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
d5dd696fe3
commit
9b9c37c364
7 changed files with 23 additions and 63 deletions
|
@ -1457,7 +1457,8 @@ static void temp_allocate_frame(TCGContext *s, int temp)
|
|||
{
|
||||
TCGTemp *ts;
|
||||
ts = &s->temps[temp];
|
||||
#ifndef __sparc_v9__ /* Sparc64 stack is accessed with offset of 2047 */
|
||||
#if !(defined(__sparc__) && TCG_TARGET_REG_BITS == 64)
|
||||
/* Sparc64 stack is accessed with offset of 2047 */
|
||||
s->current_frame_offset = (s->current_frame_offset +
|
||||
(tcg_target_long)sizeof(tcg_target_long) - 1) &
|
||||
~(sizeof(tcg_target_long) - 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue