blob: 2b024502ba8abaf67932d23815c183fce7671766 [file] [log] [blame]
Paolo Bonzini022c62c2012-12-17 18:19:49 +01001#include "exec/def-helper.h"
pbrooke1f38082008-05-24 22:29:16 +00002
pbrooka7812ae2008-11-17 14:43:54 +00003DEF_HELPER_1(bitrev, i32, i32)
4DEF_HELPER_1(ff1, i32, i32)
5DEF_HELPER_2(sats, i32, i32, i32)
6DEF_HELPER_2(divu, void, env, i32)
7DEF_HELPER_2(divs, void, env, i32)
8DEF_HELPER_3(addx_cc, i32, env, i32, i32)
9DEF_HELPER_3(subx_cc, i32, env, i32, i32)
10DEF_HELPER_3(shl_cc, i32, env, i32, i32)
11DEF_HELPER_3(shr_cc, i32, env, i32, i32)
12DEF_HELPER_3(sar_cc, i32, env, i32, i32)
13DEF_HELPER_2(xflag_lt, i32, i32, i32)
14DEF_HELPER_2(set_sr, void, env, i32)
15DEF_HELPER_3(movec, void, env, i32, i32)
pbrooke1f38082008-05-24 22:29:16 +000016
pbrooka7812ae2008-11-17 14:43:54 +000017DEF_HELPER_2(f64_to_i32, f32, env, f64)
18DEF_HELPER_2(f64_to_f32, f32, env, f64)
19DEF_HELPER_2(i32_to_f64, f64, env, i32)
20DEF_HELPER_2(f32_to_f64, f64, env, f32)
21DEF_HELPER_2(iround_f64, f64, env, f64)
22DEF_HELPER_2(itrunc_f64, f64, env, f64)
23DEF_HELPER_2(sqrt_f64, f64, env, f64)
24DEF_HELPER_1(abs_f64, f64, f64)
25DEF_HELPER_1(chs_f64, f64, f64)
26DEF_HELPER_3(add_f64, f64, env, f64, f64)
27DEF_HELPER_3(sub_f64, f64, env, f64, f64)
28DEF_HELPER_3(mul_f64, f64, env, f64, f64)
29DEF_HELPER_3(div_f64, f64, env, f64, f64)
30DEF_HELPER_3(sub_cmp_f64, f64, env, f64, f64)
31DEF_HELPER_2(compare_f64, i32, env, f64)
pbrooke1f38082008-05-24 22:29:16 +000032
pbrooka7812ae2008-11-17 14:43:54 +000033DEF_HELPER_3(mac_move, void, env, i32, i32)
34DEF_HELPER_3(macmulf, i64, env, i32, i32)
35DEF_HELPER_3(macmuls, i64, env, i32, i32)
36DEF_HELPER_3(macmulu, i64, env, i32, i32)
37DEF_HELPER_2(macsats, void, env, i32)
38DEF_HELPER_2(macsatu, void, env, i32)
39DEF_HELPER_2(macsatf, void, env, i32)
40DEF_HELPER_2(mac_set_flags, void, env, i32)
41DEF_HELPER_2(set_macsr, void, env, i32)
42DEF_HELPER_2(get_macf, i32, env, i64)
43DEF_HELPER_1(get_macs, i32, i64)
44DEF_HELPER_1(get_macu, i32, i64)
45DEF_HELPER_2(get_mac_extf, i32, env, i32)
46DEF_HELPER_2(get_mac_exti, i32, env, i32)
47DEF_HELPER_3(set_mac_extf, void, env, i32, i32)
48DEF_HELPER_3(set_mac_exts, void, env, i32, i32)
49DEF_HELPER_3(set_mac_extu, void, env, i32, i32)
pbrooke1f38082008-05-24 22:29:16 +000050
pbrooka7812ae2008-11-17 14:43:54 +000051DEF_HELPER_2(flush_flags, void, env, i32)
Blue Swirl31871142012-09-02 07:27:38 +000052DEF_HELPER_2(raise_exception, void, env, i32)
pbrooke1f38082008-05-24 22:29:16 +000053
Paolo Bonzini022c62c2012-12-17 18:19:49 +010054#include "exec/def-helper.h"