diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 19:38:12 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 19:38:12 +0000 |
commit | 3391c81801c867bc8f4dd6ce32766e4e8345813b (patch) | |
tree | 2a33edea8cbf8c8ae4e1b0580c5e1ea8aa9ba0ba /target-sparc/op.c | |
parent | ee0b03fd85652ddd04d3499f03e6821732862308 (diff) |
Fix Sparc64 ldfa, lddfa, stfa, and stdfa instructions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3298 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sparc/op.c')
-rw-r--r-- | target-sparc/op.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target-sparc/op.c b/target-sparc/op.c index bb084ee0db..613bcb09ab 100644 --- a/target-sparc/op.c +++ b/target-sparc/op.c @@ -1865,6 +1865,28 @@ void OPPROTO op_st_asi_reg() helper_st_asi(env->asi, PARAM2); } +void OPPROTO op_ldf_asi_reg() +{ + T0 += PARAM1; + helper_ldf_asi(env->asi, PARAM2, PARAM3); +} + +void OPPROTO op_stf_asi_reg() +{ + T0 += PARAM1; + helper_stf_asi(env->asi, PARAM2, PARAM3); +} + +void OPPROTO op_ldf_asi() +{ + helper_ldf_asi(PARAM1, PARAM2, PARAM3); +} + +void OPPROTO op_stf_asi() +{ + helper_stf_asi(PARAM1, PARAM2, PARAM3); +} + void OPPROTO op_ldstub_asi_reg() /* XXX: should be atomically */ { target_ulong tmp; |