m68k: use log10l() to compute log10_FP0()
PATCH 100/111 m68k: use log10l() to compute log10_FP0()
From: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-)
target-m68k/helper.c +7 -15
@@ -1368,23 +1368,15 @@ void HELPER(ln_FP0)(CPUState *env)void HELPER (log10_FP0 )(CPUState *env) { -float64 f, log2, log210; -floatx80 res; - -/* log10(x) = log2(x) / log2(10) */ - -DBG_FPUH ("log10_FP0 %Lg" ,floatx80_to_ldouble (FP0_to_floatx80 (env))); - f =floatx80_to_float64 (FP0_to_floatx80 (env), &env->fp_status); +floatx80 val; +long double res; - log2 =float64_log2 (f, &env->fp_status); - log210 =float64_log2 (floatx80_to_float64 (floatx80_10, &env->fp_status), - &env->fp_status); - res =floatx80_div (float64_to_floatx80 (log2, &env->fp_status), -float64_to_floatx80 (log210, &env->fp_status), - &env->fp_status); -DBG_FPU (" = %Lg\n" ,floatx80_to_ldouble (res)); + val =FP0_to_floatx80 (env); +DBG_FPUH ("log10_FP0 %Lg" ,floatx80_to_ldouble (val)); + res =log10l (floatx80_to_ldouble (val)); +DBG_FPU (" = %Lg\n" , res); -floatx80_to_FP0 (env, res); +floatx80_to_FP0 (env,ldouble_to_floatx80 (res)); }void HELPER (atan_FP0 )(CPUState *env)
Signature · 1 line
1.7.2.3
PATCH 104/111 m68k: add fsincos instruction
From: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 23 +++++++++++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 17 +++++++++++++++++ 3 files changed, 41 insertions(+), 0 deletions(-)
target-m68k/helper.c +23 -0
@@ -1086,6 +1086,12 @@ static inline void floatx80_to_FP0(CPUState *env, floatx80 res) env->fp0l = res.low; } +static inline void floatx80_to_FP1 (CPUState *env,floatx80 res) +{ + env->fp1h = res.high; + env->fp1l = res.low; +} +static inline int32_t FP0_to_int32 (CPUState *env) {return env->fp0h;
@@ -1656,6 +1662,23 @@ void HELPER(mod_FP0_FP1)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (sincos_FP0_FP1 )(CPUState *env) +{ +floatx80 res; +long double val, valsin, valcos; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("sincos_FP0 %Lg" , val); +sincosl (val, &valsin, &valcos); +DBG_FPU (" = %Lg, %Lg" , valsin, valcos); + res =ldouble_to_floatx80 (valsin); +floatx80_to_FP0 (env, res); + res =ldouble_to_floatx80 (valcos); +floatx80_to_FP1 (env, res); +} +void HELPER (fcmp_FP0_FP1 )(CPUState *env) {/* ??? This may incorrectly raise exceptions. */
target-m68k/helpers.h +1 -0
@@ -86,6 +86,7 @@ DEF_HELPER_1(sub_FP0_FP1, void, env) DEF_HELPER_1(mul_FP0_FP1, void, env) DEF_HELPER_1(div_FP0_FP1, void, env) DEF_HELPER_1(mod_FP0_FP1, void, env) +DEF_HELPER_1(sincos_FP0_FP1, void, env) DEF_HELPER_1(fcmp_FP0_FP1, void, env)DEF_HELPER_1 (compare_FP0, i32, env)
target-m68k/translate.c +17 -0
@@ -220,6 +220,16 @@ static void gen_op_store_fpr_FP0(int freg) offsetof(FPReg, d.low)); } +static void gen_op_store_fpr_FP1 (int freg) +{ +tcg_gen_st16_i32 (QREG_FP1H , cpu_env, + offsetof(CPUM68KState, fregs[freg]) + + offsetof(FPReg, d.high)); +tcg_gen_st_i64 (QREG_FP1L , cpu_env, + offsetof(CPUM68KState, fregs[freg]) + + offsetof(FPReg, d.low)); +} +static void gen_op_load_fpr_FP1 (int freg) { tcg_gen_ld16u_i32(QREG_FP1H, cpu_env,
@@ -3801,6 +3811,13 @@ DISAS_INSN(fpu)gen_op_load_fpr_FP1 (REG (ext,7 ));gen_helper_sub_FP0_FP1 (cpu_env);break ; +case 0x30 :case 0x31 :case 0x32 : +case 0x33 :case 0x34 :case 0x35 : +case 0x36 :case 0x37 : +gen_helper_sincos_FP0_FP1 (cpu_env); +gen_op_store_fpr_FP0 (REG (ext,7 ));/* sin */ +gen_op_store_fpr_FP1 (REG (ext,0 ));/* cos */ +break ;case 0x38 :/* fcmp */ gen_op_load_fpr_FP1 (REG (ext,7 ));gen_helper_fcmp_FP0_FP1 (cpu_env);
Signature · 1 line
1.7.2.3
PATCH 106/111 m68k: add ftanh instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 15 +++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 3 +++ 3 files changed, 19 insertions(+), 0 deletions(-)
target-m68k/helper.c +15 -0
@@ -1445,6 +1445,21 @@ void HELPER(sin_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (tanh_FP0 )(CPUState *env) +{ +floatx80 res; +long double val; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("tanh_FP0 %Lg" , val); + val =tanhl (val); +DBG_FPU (" = %Lg" , val); + res =ldouble_to_floatx80 (val); +floatx80_to_FP0 (env, res); +} +void HELPER (tan_FP0 )(CPUState *env) {floatx80 res;
target-m68k/helpers.h +1 -0
@@ -69,6 +69,7 @@ DEF_HELPER_1(sqrt_FP0, void, env) DEF_HELPER_1(atan_FP0, void, env) DEF_HELPER_1(asin_FP0, void, env) DEF_HELPER_1(sin_FP0, void, env) +DEF_HELPER_1(tanh_FP0, void, env) DEF_HELPER_1(tan_FP0, void, env) DEF_HELPER_1(exp_FP0, void, env)DEF_HELPER_1 (exp2_FP0, void, env)
target-m68k/translate.c +3 -0
@@ -3737,6 +3737,9 @@ DISAS_INSN(fpu)case 4 :case 0x41 :case 0x45 :/* fsqrt */ gen_helper_sqrt_FP0 (cpu_env);break ; +case 0x09 :/* ftanh */ +gen_helper_tanh_FP0 (cpu_env); +break ;case 0x0a :/* fatan */ gen_helper_atan_FP0 (cpu_env);break ;
Signature · 1 line
1.7.2.3
PATCH 109/111 m68k: first draft of q800 emulation (not working)
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- Makefile.target | 1 + hw/m68k_mac.c | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++ hw/mcf5208.c | 2 +- target-m68k/helper.c | 27 +++++++- 4 files changed, 201 insertions(+), 5 deletions(-) create mode 100644 hw/m68k_mac.c
Makefile.target +1 -0
@@ -374,6 +374,7 @@ obj-sh4-y += ide/mmio.o obj-m68k-y = an5206.o mcf5206.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o obj-m68k-y += m68k-semi.o dummy_m68k.o +obj-m68k-y += m68k_mac.o obj-s390x-y = s390-virtio-bus.o s390-virtio.o
hw/m68k_mac.c new file +176 -0
176 lines not on this page · raw message
hw/mcf5208.c +1 -1
@@ -295,7 +295,7 @@ static QEMUMachine mcf5208evb_machine = { .name = "mcf5208evb", .desc = "MCF5206EVB", .init = mcf5208evb_init, - .is_default = 1, + .is_default = 0, };static void mcf5208evb_machine_init (void )
target-m68k/helper.c +23 -4
@@ -281,8 +281,11 @@ void cpu_reset(CPUM68KState *env)log_cpu_state (env,0 ); } +#if defined(CONFIG_USER_ONLY )memset (env,0 , offsetof(CPUM68KState , breakpoints)); -#if !defined (CONFIG_USER_ONLY ) +/* TODO: We should set PC from the interrupt vector. */ + env->pc =0 ; +#else env->sr =0x2700 ;#endif m68k_switch_sp (env);
@@ -296,8 +299,6 @@ void cpu_reset(CPUM68KState *env) env->fp1l = floatx80_default_nan.low; env->cc_op =CC_OP_FLAGS ; -/* TODO: We should set PC from the interrupt vector. */ - env->pc =0 ;tlb_flush (env,1 ); }
@@ -472,7 +473,7 @@ set_x: env->cc_dest = flags; } -void HELPER (movec )(CPUM68KState *env,uint32_t reg,uint32_t val) +void HELPER (movec_to )(CPUM68KState * env,uint32_t reg,uint32_t val) {switch (reg) {case 0x02 :/* CACR */
@@ -492,6 +493,24 @@ void HELPER(movec)(CPUM68KState *env, uint32_t reg, uint32_t val) } } +uint32_t HELPER (movec_from )(CPUM68KState * env,uint32_t reg) +{ +switch (reg) { +case 0x02 :/* CACR */ +return env->cacr; +case 0x04 :case 0x05 :case 0x06 :case 0x07 :/* ACR[0-3] */ +/* TODO: Implement Access Control Registers. */ +return 0 ; +case 0x801 :/* VBR */ +return env->vbr; +break ; +/* TODO: Implement control registers. */ +default : +cpu_abort (env,"Unimplemented control register read 0x%x\n" , + reg); + } +} +void HELPER (set_macsr )(CPUM68KState *env,uint32_t val) {uint32_t acc;
Signature · 1 line
1.7.2.3
PATCH 111/111 m68k: move from sr can use effective addresse on m68k
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/translate.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-)
target-m68k/translate.c +3 -5
@@ -3443,16 +3443,14 @@ DISAS_INSN(strldsr)DISAS_INSN (move_from_sr) { -TCGv reg;TCGv sr; -if (IS_USER (s)) { +if (IS_USER (s)) {/* FIXME: not privileged on 68000 */ gen_exception (s, s->pc -2 ,EXCP_PRIVILEGE );return ; } sr =gen_get_sr (s); - reg =DREG (insn,0 ); -gen_partset_reg (OS_WORD , reg, sr); +DEST_EA (insn,OS_WORD , sr,NULL ); }DISAS_INSN (move_to_sr)
@@ -4424,7 +4422,7 @@ void register_m68k_insns (CPUM68KState *env)INSN (negx,4000 , ff00,M68000 ); INSN(undef, 40c0, ffc0, M68000); INSN(move_from_sr, 40c0, fff8, CF_ISA_A); - INSN(move_from_sr, 40c0, fff8, M68000); + INSN(move_from_sr, 40c0, ffc0, M68000); INSN(lea, 41c0, f1c0, CF_ISA_A); INSN(lea, 41c0, f1c0, M68000);INSN (clr,4200 , ff00,CF_ISA_A );
Signature · 1 line
1.7.2.3
PATCH 107/111 m68k: add flognp1 instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 13 +++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 3 +++ 3 files changed, 17 insertions(+), 0 deletions(-)
target-m68k/helper.c +13 -0
@@ -1374,6 +1374,19 @@ void HELPER(sqrt_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (lognp1_FP0 )(CPUState *env) +{ +floatx80 val; +long double res; + + val =FP0_to_floatx80 (env); +DBG_FPUH ("lognp1_FP0 %Lg" ,floatx80_to_ldouble (val)); + res =logl (floatx80_to_ldouble (val) +1.0 ); +DBG_FPU (" = %Lg\n" , res); + +floatx80_to_FP0 (env,ldouble_to_floatx80 (res)); +} +void HELPER (ln_FP0 )(CPUState *env) {floatx80 val;
target-m68k/helpers.h +1 -0
@@ -66,6 +66,7 @@ DEF_HELPER_1(iround_FP0, void, env) DEF_HELPER_1(sinh_FP0, void, env) DEF_HELPER_1(itrunc_FP0, void, env) DEF_HELPER_1(sqrt_FP0, void, env) +DEF_HELPER_1(lognp1_FP0, void, env) DEF_HELPER_1(atan_FP0, void, env) DEF_HELPER_1(asin_FP0, void, env)DEF_HELPER_1 (sin_FP0, void, env)
target-m68k/translate.c +3 -0
@@ -3737,6 +3737,9 @@ DISAS_INSN(fpu)case 4 :case 0x41 :case 0x45 :/* fsqrt */ gen_helper_sqrt_FP0 (cpu_env);break ; +case 6 :/* flognp1 */ +gen_helper_lognp1_FP0 (cpu_env); +break ;case 0x09 :/* ftanh */ gen_helper_tanh_FP0 (cpu_env);break ;
Signature · 1 line
1.7.2.3
PATCH 108/111 m68k: add fatanh instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 15 +++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 5 ++++- 3 files changed, 20 insertions(+), 1 deletions(-)
target-m68k/helper.c +15 -0
@@ -1443,6 +1443,21 @@ void HELPER(asin_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (atanh_FP0 )(CPUState *env) +{ +floatx80 res; +long double val; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("atanh_FP0 %Lg" , val); + val =atanhl (val); +DBG_FPU (" = %Lg" , val); + res =ldouble_to_floatx80 (val); +floatx80_to_FP0 (env, res); +} +void HELPER (sin_FP0 )(CPUState *env) {floatx80 res;
target-m68k/helpers.h +1 -0
@@ -69,6 +69,7 @@ DEF_HELPER_1(sqrt_FP0, void, env) DEF_HELPER_1(lognp1_FP0, void, env) DEF_HELPER_1(atan_FP0, void, env) DEF_HELPER_1(asin_FP0, void, env) +DEF_HELPER_1(atanh_FP0, void, env) DEF_HELPER_1(sin_FP0, void, env) DEF_HELPER_1(tanh_FP0, void, env)DEF_HELPER_1 (tan_FP0, void, env)
target-m68k/translate.c +4 -1
@@ -3746,9 +3746,12 @@ DISAS_INSN(fpu)case 0x0a :/* fatan */ gen_helper_atan_FP0 (cpu_env);break ; -case 0x0c : +case 0x0c :/* fasin */ gen_helper_asin_FP0 (cpu_env);break ; +case 0x0d :/* fatanh */ +gen_helper_atanh_FP0 (cpu_env); +break ;case 0x0e :/* fsin */ gen_helper_sin_FP0 (cpu_env);break ;
Signature · 1 line
1.7.2.3
PATCH 102/111 m68k: add fcosh instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 15 +++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 3 +++ 3 files changed, 19 insertions(+), 0 deletions(-)
target-m68k/helper.c +15 -0
@@ -1481,6 +1481,21 @@ void HELPER(abs_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (cosh_FP0 )(CPUState *env) +{ +floatx80 res; +long double val; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("cosh_FP0 %Lg" , val); + val =coshl (val); +DBG_FPU (" = %Lg" , val); + res =ldouble_to_floatx80 (val); +floatx80_to_FP0 (env, res); +} +void HELPER (chs_FP0 )(CPUState *env) {floatx80 res;
target-m68k/helpers.h +1 -0
@@ -74,6 +74,7 @@ DEF_HELPER_1(exp10_FP0, void, env) DEF_HELPER_1(ln_FP0, void, env) DEF_HELPER_1(log10_FP0, void, env) DEF_HELPER_1(abs_FP0, void, env) +DEF_HELPER_1(cosh_FP0, void, env) DEF_HELPER_1(chs_FP0, void, env) DEF_HELPER_1(acos_FP0, void, env)DEF_HELPER_1 (cos_FP0, void, env)
target-m68k/translate.c +3 -0
@@ -3751,6 +3751,9 @@ DISAS_INSN(fpu)case 0x18 :case 0x58 :case 0x5c :/* fabs */ gen_helper_abs_FP0 (cpu_env);break ; +case 0x19 : +gen_helper_cosh_FP0 (cpu_env); +break ;case 0x1a :case 0x5a :case 0x5e :/* fneg */ gen_helper_chs_FP0 (cpu_env);break ;
Signature · 1 line
1.7.2.3
PATCH 110/111 m68k: add movec instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helpers.h | 3 ++- target-m68k/translate.c | 11 ++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-)
target-m68k/helpers.h +2 -1
@@ -48,7 +48,8 @@ DEF_HELPER_2(xflag_lt_i8, i32, i32, i32) DEF_HELPER_2(xflag_lt_i16, i32, i32, i32) DEF_HELPER_2(xflag_lt_i32, i32, i32, i32) DEF_HELPER_2(set_sr, void, env, i32) -DEF_HELPER_3(movec, void, env, i32, i32) +DEF_HELPER_3(movec_to, void, env, i32, i32) +DEF_HELPER_2(movec_from, i32, env, i32) DEF_HELPER_1(exts32_FP0, void, env)DEF_HELPER_1 (extf32_FP0, void, env)
target-m68k/translate.c +8 -3
@@ -3532,7 +3532,11 @@ DISAS_INSN(movec) }else { reg =DREG (ext,12 ); } -gen_helper_movec (cpu_env,tcg_const_i32 (ext &0xfff ), reg); +if (insn &1 ) { +gen_helper_movec_to (cpu_env,tcg_const_i32 (ext &0xfff ), reg); + }else { +gen_helper_movec_from (reg, cpu_env,tcg_const_i32 (ext &0xfff )); + }gen_lookup_tb (s); }
@@ -4435,7 +4439,7 @@ void register_m68k_insns (CPUM68KState *env) INSN(move_to_ccr, 44c0, ffc0, M68000);INSN (not,4680 , fff8,CF_ISA_A );INSN (not,4600 , ff00,M68000 ); - INSN(undef, 46c0, ffc0, M68000); + INSN(move_to_sr, 46c0, ffc0, M68000); INSN(move_to_sr, 46c0, ffc0, CF_ISA_A);INSN (nbcd,4800 , ffc0,M68000 );INSN (linkl,4808 , fff8,M68000 );
@@ -4481,7 +4485,8 @@ void register_m68k_insns (CPUM68KState *env)INSN (rte,4e73 , ffff,M68000 );INSN (rts,4e75 , ffff,CF_ISA_A );INSN (rts,4e75 , ffff,M68000 ); -INSN (movec,4e7b , ffff,CF_ISA_A ); +INSN (movec,4e7a , fffe,CF_ISA_A ); +INSN (movec,4e7a , fffe,M68000 );INSN (jump,4e80 , ffc0,CF_ISA_A );INSN (jump,4e80 , ffc0,M68000 );INSN (jump,4ec0 , ffc0,CF_ISA_A );
Signature · 1 line
1.7.2.3
PATCH 103/111 m68k: add fasin instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 15 +++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 3 +++ 3 files changed, 19 insertions(+), 0 deletions(-)
target-m68k/helper.c +15 -0
@@ -1394,6 +1394,21 @@ void HELPER(atan_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (asin_FP0 )(CPUState *env) +{ +floatx80 res; +long double val; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("asin_FP0 %Lg" , val); + val =asinl (val); +DBG_FPU (" = %Lg" , val); + res =ldouble_to_floatx80 (val); +floatx80_to_FP0 (env, res); +} +void HELPER (sin_FP0 )(CPUState *env) {floatx80 res;
target-m68k/helpers.h +1 -0
@@ -66,6 +66,7 @@ DEF_HELPER_1(iround_FP0, void, env) DEF_HELPER_1(itrunc_FP0, void, env) DEF_HELPER_1(sqrt_FP0, void, env) DEF_HELPER_1(atan_FP0, void, env) +DEF_HELPER_1(asin_FP0, void, env) DEF_HELPER_1(sin_FP0, void, env) DEF_HELPER_1(tan_FP0, void, env)DEF_HELPER_1 (exp_FP0, void, env)
target-m68k/translate.c +3 -0
@@ -3727,6 +3727,9 @@ DISAS_INSN(fpu)case 0x0a :/* fatan */ gen_helper_atan_FP0 (cpu_env);break ; +case 0x0c : +gen_helper_asin_FP0 (cpu_env); +break ;case 0x0e :/* fsin */ gen_helper_sin_FP0 (cpu_env);break ;
Signature · 1 line
1.7.2.3
PATCH 101/111 m68k: correctly load signed word into floating point register
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/translate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
target-m68k/translate.c +1 -1
@@ -839,7 +839,7 @@ static inline void gen_load_FP0(DisasContext * s, int opsize, TCGv addr)gen_helper_exts32_FP0 (cpu_env);break ;case OS_WORD : -tcg_gen_qemu_ld16u (QREG_FP0H , addr, index); +tcg_gen_qemu_ld16s (QREG_FP0H , addr, index);gen_helper_exts32_FP0 (cpu_env);break ;case OS_LONG :
Signature · 1 line
1.7.2.3
PATCH 105/111 m68k: add fsinh instruction
In reply to Bryce LanhamFrom: Laurent Vivier <[email protected]>
--- target-m68k/helper.c | 15 +++++++++++++++ target-m68k/helpers.h | 1 + target-m68k/translate.c | 3 +++ 3 files changed, 19 insertions(+), 0 deletions(-)
target-m68k/helper.c +15 -0
@@ -1331,6 +1331,21 @@ void HELPER(iround_FP0)(CPUState *env)floatx80_to_FP0 (env, res); } +void HELPER (sinh_FP0 )(CPUState *env) +{ +floatx80 res; +long double val; + + res =FP0_to_floatx80 (env); + val =floatx80_to_ldouble (res); + +DBG_FPUH ("sinh_FP0 %Lg" , val); + val =sinhl (val); +DBG_FPU (" = %Lg" , val); + res =ldouble_to_floatx80 (val); +floatx80_to_FP0 (env, res); +} +void HELPER (itrunc_FP0 )(CPUState *env) {floatx80 res;
target-m68k/helpers.h +1 -0
@@ -63,6 +63,7 @@ DEF_HELPER_4(fmovem, void, env, i32, i32, i32) DEF_HELPER_2(set_fpcr, void, env, i32) DEF_HELPER_2(const_FP0, void, env, i32) DEF_HELPER_1(iround_FP0, void, env) +DEF_HELPER_1(sinh_FP0, void, env) DEF_HELPER_1(itrunc_FP0, void, env) DEF_HELPER_1(sqrt_FP0, void, env)DEF_HELPER_1 (atan_FP0, void, env)
target-m68k/translate.c +3 -0
@@ -3727,6 +3727,9 @@ DISAS_INSN(fpu)gen_helper_iround_FP0 (cpu_env); round =0 ;break ; +case 2 :/* fsinh */ +gen_helper_sinh_FP0 (cpu_env); +break ;case 3 :/* fintrz */ gen_helper_itrunc_FP0 (cpu_env); round =0 ;
Signature · 1 line
1.7.2.3