Paolo Bonzini | 022c62c | 2012-12-17 18:19:49 +0100 | [diff] [blame] | 1 | #include "exec/def-helper.h" |
pbrook | e1f3808 | 2008-05-24 22:29:16 +0000 | [diff] [blame] | 2 | |
pbrook | a7812ae | 2008-11-17 14:43:54 +0000 | [diff] [blame] | 3 | DEF_HELPER_1(bitrev, i32, i32) |
| 4 | DEF_HELPER_1(ff1, i32, i32) |
| 5 | DEF_HELPER_2(sats, i32, i32, i32) |
| 6 | DEF_HELPER_2(divu, void, env, i32) |
| 7 | DEF_HELPER_2(divs, void, env, i32) |
| 8 | DEF_HELPER_3(addx_cc, i32, env, i32, i32) |
| 9 | DEF_HELPER_3(subx_cc, i32, env, i32, i32) |
| 10 | DEF_HELPER_3(shl_cc, i32, env, i32, i32) |
| 11 | DEF_HELPER_3(shr_cc, i32, env, i32, i32) |
| 12 | DEF_HELPER_3(sar_cc, i32, env, i32, i32) |
| 13 | DEF_HELPER_2(xflag_lt, i32, i32, i32) |
| 14 | DEF_HELPER_2(set_sr, void, env, i32) |
| 15 | DEF_HELPER_3(movec, void, env, i32, i32) |
pbrook | e1f3808 | 2008-05-24 22:29:16 +0000 | [diff] [blame] | 16 | |
pbrook | a7812ae | 2008-11-17 14:43:54 +0000 | [diff] [blame] | 17 | DEF_HELPER_2(f64_to_i32, f32, env, f64) |
| 18 | DEF_HELPER_2(f64_to_f32, f32, env, f64) |
| 19 | DEF_HELPER_2(i32_to_f64, f64, env, i32) |
| 20 | DEF_HELPER_2(f32_to_f64, f64, env, f32) |
| 21 | DEF_HELPER_2(iround_f64, f64, env, f64) |
| 22 | DEF_HELPER_2(itrunc_f64, f64, env, f64) |
| 23 | DEF_HELPER_2(sqrt_f64, f64, env, f64) |
| 24 | DEF_HELPER_1(abs_f64, f64, f64) |
| 25 | DEF_HELPER_1(chs_f64, f64, f64) |
| 26 | DEF_HELPER_3(add_f64, f64, env, f64, f64) |
| 27 | DEF_HELPER_3(sub_f64, f64, env, f64, f64) |
| 28 | DEF_HELPER_3(mul_f64, f64, env, f64, f64) |
| 29 | DEF_HELPER_3(div_f64, f64, env, f64, f64) |
| 30 | DEF_HELPER_3(sub_cmp_f64, f64, env, f64, f64) |
| 31 | DEF_HELPER_2(compare_f64, i32, env, f64) |
pbrook | e1f3808 | 2008-05-24 22:29:16 +0000 | [diff] [blame] | 32 | |
pbrook | a7812ae | 2008-11-17 14:43:54 +0000 | [diff] [blame] | 33 | DEF_HELPER_3(mac_move, void, env, i32, i32) |
| 34 | DEF_HELPER_3(macmulf, i64, env, i32, i32) |
| 35 | DEF_HELPER_3(macmuls, i64, env, i32, i32) |
| 36 | DEF_HELPER_3(macmulu, i64, env, i32, i32) |
| 37 | DEF_HELPER_2(macsats, void, env, i32) |
| 38 | DEF_HELPER_2(macsatu, void, env, i32) |
| 39 | DEF_HELPER_2(macsatf, void, env, i32) |
| 40 | DEF_HELPER_2(mac_set_flags, void, env, i32) |
| 41 | DEF_HELPER_2(set_macsr, void, env, i32) |
| 42 | DEF_HELPER_2(get_macf, i32, env, i64) |
| 43 | DEF_HELPER_1(get_macs, i32, i64) |
| 44 | DEF_HELPER_1(get_macu, i32, i64) |
| 45 | DEF_HELPER_2(get_mac_extf, i32, env, i32) |
| 46 | DEF_HELPER_2(get_mac_exti, i32, env, i32) |
| 47 | DEF_HELPER_3(set_mac_extf, void, env, i32, i32) |
| 48 | DEF_HELPER_3(set_mac_exts, void, env, i32, i32) |
| 49 | DEF_HELPER_3(set_mac_extu, void, env, i32, i32) |
pbrook | e1f3808 | 2008-05-24 22:29:16 +0000 | [diff] [blame] | 50 | |
pbrook | a7812ae | 2008-11-17 14:43:54 +0000 | [diff] [blame] | 51 | DEF_HELPER_2(flush_flags, void, env, i32) |
Blue Swirl | 3187114 | 2012-09-02 07:27:38 +0000 | [diff] [blame] | 52 | DEF_HELPER_2(raise_exception, void, env, i32) |
pbrook | e1f3808 | 2008-05-24 22:29:16 +0000 | [diff] [blame] | 53 | |
Paolo Bonzini | 022c62c | 2012-12-17 18:19:49 +0100 | [diff] [blame] | 54 | #include "exec/def-helper.h" |