Skip to content

Commit

Permalink
target/sparc: Remove qt0, qt1 temporaries
Browse files Browse the repository at this point in the history
These are no longer used for passing data to/from helpers.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20231103173841.33651-15-richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Feb 2, 2024
1 parent 6d0abe2 commit 04b17fa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions target/sparc/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,6 @@ struct CPUArchState {
uint64_t mmubpregs[4];
uint64_t prom_addr;
#endif
/* temporary float registers */
float128 qt0, qt1;
float_status fp_status;
#if defined(TARGET_SPARC64)
#define MAXTL_MAX 8
Expand Down
3 changes: 0 additions & 3 deletions target/sparc/fop_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
#include "exec/helper-proto.h"
#include "fpu/softfloat.h"

#define QT0 (env->qt0)
#define QT1 (env->qt1)

static inline float128 f128_in(Int128 i)
{
union {
Expand Down
3 changes: 0 additions & 3 deletions target/sparc/ldst_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
#endif
#endif

#define QT0 (env->qt0)
#define QT1 (env->qt1)

#if defined(TARGET_SPARC64) && !defined(CONFIG_USER_ONLY)
/* Calculates TSB pointer value for fault page size
* UltraSPARC IIi has fixed sizes (8k or 64k) for the page pointers
Expand Down

0 comments on commit 04b17fa

Please sign in to comment.