aboutsummaryrefslogtreecommitdiff
path: root/target-sparc/translate.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
commitd78f399542b0b81fab67f31c9a88665943f0571d (patch)
tree78000d67343db1e17e038986d492d6918d335d18 /target-sparc/translate.c
parent7f70c93716412b0874ae231c2f5416edccb22e7f (diff)
downloadqemu-d78f399542b0b81fab67f31c9a88665943f0571d.zip
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.gz
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.bz2
Delete some unused macros detected with -Wp,-Wunused-macros use
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6856 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/translate.c')
-rw-r--r--target-sparc/translate.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 53997ae..d059408 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -92,11 +92,9 @@ typedef struct DisasContext {
#define GET_FIELD_SPs(x,a,b) sign_extend (GET_FIELD_SP(x,a,b), ((b) - (a) + 1))
#ifdef TARGET_SPARC64
-#define FFPREG(r) (r)
#define DFPREG(r) (((r & 1) << 5) | (r & 0x1e))
#define QFPREG(r) (((r & 1) << 5) | (r & 0x1c))
#else
-#define FFPREG(r) (r)
#define DFPREG(r) (r & 0x1e)
#define QFPREG(r) (r & 0x1c)
#endif
@@ -2846,24 +2844,6 @@ static void disas_sparc_insn(DisasContext * dc)
#undef FMOVSCC
#undef FMOVDCC
#undef FMOVQCC
-#define FMOVCC(size_FDQ, icc) \
- { \
- TCGv r_cond; \
- int l1; \
- \
- l1 = gen_new_label(); \
- r_cond = tcg_temp_new(); \
- cond = GET_FIELD_SP(insn, 14, 17); \
- gen_cond(r_cond, icc, cond); \
- tcg_gen_brcondi_tl(TCG_COND_EQ, r_cond, \
- 0, l1); \
- glue(glue(gen_op_load_fpr_, size_FDQ), T0) \
- (glue(size_FDQ, FPREG(rs2))); \
- glue(glue(gen_op_store_, size_FDQ), T0_fpr) \
- (glue(size_FDQ, FPREG(rd))); \
- gen_set_label(l1); \
- tcg_temp_free(r_cond); \
- }
#define FMOVSCC(icc) \
{ \
TCGv r_cond; \