add 8, 16, 32, 64 bits load and store Signed-off-by: Yongbok Kim <yongbok....@imgtec.com> --- target-mips/cpu.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/target-mips/cpu.h b/target-mips/cpu.h index 68ce383..51d1c88 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu.h @@ -896,6 +896,10 @@ HELPER_LD(lw, ldl, int32_t) #ifdef TARGET_MIPS64 HELPER_LD(ld, ldq, int64_t) #endif +HELPER_LD(ld8, ldub, uint8_t) +HELPER_LD(ld16, lduw, uint16_t) +HELPER_LD(ld32, ldl, int32_t) +HELPER_LD(ld64, ldq, int64_t) #undef HELPER_LD #if defined(CONFIG_USER_ONLY) @@ -929,6 +933,10 @@ HELPER_ST(sw, stl, uint32_t) #ifdef TARGET_MIPS64 HELPER_ST(sd, stq, uint64_t) #endif +HELPER_ST(st8, stb, uint8_t) +HELPER_ST(st16, stw, uint16_t) +HELPER_ST(st32, stl, int32_t) +HELPER_ST(st64, stq, int64_t) #undef HELPER_ST #endif /* !defined (__MIPS_CPU_H__) */ -- 1.7.4