mirror of https://gitee.com/openkylin/qemu.git
target-sh4: mark a few helpers const and pure
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
c26032b2c9
commit
f8e7343956
|
@ -23,8 +23,8 @@ DEF_HELPER_3(macw, void, env, i32, i32)
|
|||
|
||||
DEF_HELPER_2(ld_fpscr, void, env, i32)
|
||||
|
||||
DEF_HELPER_1(fabs_FT, f32, f32)
|
||||
DEF_HELPER_1(fabs_DT, f64, f64)
|
||||
DEF_HELPER_FLAGS_1(fabs_FT, TCG_CALL_CONST | TCG_CALL_PURE, f32, f32)
|
||||
DEF_HELPER_FLAGS_1(fabs_DT, TCG_CALL_CONST | TCG_CALL_PURE, f64, f64)
|
||||
DEF_HELPER_3(fadd_FT, f32, env, f32, f32)
|
||||
DEF_HELPER_3(fadd_DT, f64, env, f64, f64)
|
||||
DEF_HELPER_2(fcnvsd_FT_DT, f64, env, f32)
|
||||
|
@ -41,7 +41,7 @@ DEF_HELPER_2(float_DT, f64, env, i32)
|
|||
DEF_HELPER_4(fmac_FT, f32, env, f32, f32, f32)
|
||||
DEF_HELPER_3(fmul_FT, f32, env, f32, f32)
|
||||
DEF_HELPER_3(fmul_DT, f64, env, f64, f64)
|
||||
DEF_HELPER_1(fneg_T, f32, f32)
|
||||
DEF_HELPER_FLAGS_1(fneg_T, TCG_CALL_CONST | TCG_CALL_PURE, f32, f32)
|
||||
DEF_HELPER_3(fsub_FT, f32, env, f32, f32)
|
||||
DEF_HELPER_3(fsub_DT, f64, env, f64, f64)
|
||||
DEF_HELPER_2(fsqrt_FT, f32, env, f32)
|
||||
|
|
Loading…
Reference in New Issue