diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:43:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 23:43:32 +0000 |
commit | 0fa85d43d47151e71e63754e419340bfcff97e80 (patch) | |
tree | ee797bd86bf4c5e0b6e33b462248da86408ce12c /target-sparc/op_mem.h | |
parent | b4ff59872759eb491313ae4248732d9a2acc1299 (diff) |
64 bit target support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1195 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op_mem.h')
-rw-r--r-- | target-sparc/op_mem.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/target-sparc/op_mem.h b/target-sparc/op_mem.h index 9c839a0047..995eb27d75 100644 --- a/target-sparc/op_mem.h +++ b/target-sparc/op_mem.h @@ -2,13 +2,13 @@ #define SPARC_LD_OP(name, qp) \ void OPPROTO glue(glue(op_, name), MEMSUFFIX)(void) \ { \ - T1 = glue(qp, MEMSUFFIX)((void *)T0); \ + T1 = glue(qp, MEMSUFFIX)(T0); \ } #define SPARC_ST_OP(name, op) \ void OPPROTO glue(glue(op_, name), MEMSUFFIX)(void) \ { \ - glue(op, MEMSUFFIX)((void *)T0, T1); \ + glue(op, MEMSUFFIX)(T0, T1); \ } SPARC_LD_OP(ld, ldl); @@ -24,48 +24,48 @@ SPARC_ST_OP(sth, stw); void OPPROTO glue(op_std, MEMSUFFIX)(void) { - glue(stl, MEMSUFFIX)((void *) T0, T1); - glue(stl, MEMSUFFIX)((void *) (T0 + 4), T2); + glue(stl, MEMSUFFIX)(T0, T1); + glue(stl, MEMSUFFIX)((T0 + 4), T2); } void OPPROTO glue(op_ldstub, MEMSUFFIX)(void) { - T1 = glue(ldub, MEMSUFFIX)((void *) T0); - glue(stb, MEMSUFFIX)((void *) T0, 0xff); /* XXX: Should be Atomically */ + T1 = glue(ldub, MEMSUFFIX)(T0); + glue(stb, MEMSUFFIX)(T0, 0xff); /* XXX: Should be Atomically */ } void OPPROTO glue(op_swap, MEMSUFFIX)(void) { - unsigned int tmp = glue(ldl, MEMSUFFIX)((void *) T0); - glue(stl, MEMSUFFIX)((void *) T0, T1); /* XXX: Should be Atomically */ + unsigned int tmp = glue(ldl, MEMSUFFIX)(T0); + glue(stl, MEMSUFFIX)(T0, T1); /* XXX: Should be Atomically */ T1 = tmp; } void OPPROTO glue(op_ldd, MEMSUFFIX)(void) { - T1 = glue(ldl, MEMSUFFIX)((void *) T0); - T0 = glue(ldl, MEMSUFFIX)((void *) (T0 + 4)); + T1 = glue(ldl, MEMSUFFIX)(T0); + T0 = glue(ldl, MEMSUFFIX)((T0 + 4)); } /*** Floating-point store ***/ void OPPROTO glue(op_stf, MEMSUFFIX) (void) { - glue(stfl, MEMSUFFIX)((void *) T0, FT0); + glue(stfl, MEMSUFFIX)(T0, FT0); } void OPPROTO glue(op_stdf, MEMSUFFIX) (void) { - glue(stfq, MEMSUFFIX)((void *) T0, DT0); + glue(stfq, MEMSUFFIX)(T0, DT0); } /*** Floating-point load ***/ void OPPROTO glue(op_ldf, MEMSUFFIX) (void) { - FT0 = glue(ldfl, MEMSUFFIX)((void *) T0); + FT0 = glue(ldfl, MEMSUFFIX)(T0); } void OPPROTO glue(op_lddf, MEMSUFFIX) (void) { - DT0 = glue(ldfq, MEMSUFFIX)((void *) T0); + DT0 = glue(ldfq, MEMSUFFIX)(T0); } #undef MEMSUFFIX |