aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-11-03 10:38:33 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-02-03 16:46:10 +1000
commit41535ca6f4d708cf376d731930fd89f44c84c98a (patch)
treef6983afc482fbad2460e4c70cc403e7ba15328a7
parentba21dc991be87ee8e15d124a80b27ce626a77b14 (diff)
downloadqemu-41535ca6f4d708cf376d731930fd89f44c84c98a.zip
qemu-41535ca6f4d708cf376d731930fd89f44c84c98a.tar.gz
qemu-41535ca6f4d708cf376d731930fd89f44c84c98a.tar.bz2
target/sparc: Remove qt0, qt1 temporaries
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>
-rw-r--r--target/sparc/cpu.h2
-rw-r--r--target/sparc/fop_helper.c3
-rw-r--r--target/sparc/ldst_helper.c3
3 files changed, 0 insertions, 8 deletions
diff --git a/target/sparc/cpu.h b/target/sparc/cpu.h
index 1e076f6..75c46e2 100644
--- a/target/sparc/cpu.h
+++ b/target/sparc/cpu.h
@@ -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
diff --git a/target/sparc/fop_helper.c b/target/sparc/fop_helper.c
index cd9b212..7353a61 100644
--- a/target/sparc/fop_helper.c
+++ b/target/sparc/fop_helper.c
@@ -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 {
diff --git a/target/sparc/ldst_helper.c b/target/sparc/ldst_helper.c
index 52aa6c6..1ecd58e 100644
--- a/target/sparc/ldst_helper.c
+++ b/target/sparc/ldst_helper.c
@@ -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