1
2
3
4
5
6
7
8
9#include "exec/def-helper.h"
10
11#ifndef CONFIG_USER_ONLY
12DEF_HELPER_4(cp0_set, void, env, i32, i32, i32)
13DEF_HELPER_3(cp0_get, i32, env, i32, i32)
14DEF_HELPER_1(cp1_putc, void, i32)
15#endif
16
17DEF_HELPER_1(clz, i32, i32)
18DEF_HELPER_1(clo, i32, i32)
19
20DEF_HELPER_2(exception, void, env, i32)
21
22DEF_HELPER_3(asr_write, void, env, i32, i32)
23DEF_HELPER_1(asr_read, i32, env)
24
25DEF_HELPER_2(get_user_reg, i32, env, i32)
26DEF_HELPER_3(set_user_reg, void, env, i32, i32)
27
28DEF_HELPER_3(add_cc, i32, env, i32, i32)
29DEF_HELPER_3(adc_cc, i32, env, i32, i32)
30DEF_HELPER_3(sub_cc, i32, env, i32, i32)
31DEF_HELPER_3(sbc_cc, i32, env, i32, i32)
32
33DEF_HELPER_2(shl, i32, i32, i32)
34DEF_HELPER_2(shr, i32, i32, i32)
35DEF_HELPER_2(sar, i32, i32, i32)
36DEF_HELPER_3(shl_cc, i32, env, i32, i32)
37DEF_HELPER_3(shr_cc, i32, env, i32, i32)
38DEF_HELPER_3(sar_cc, i32, env, i32, i32)
39DEF_HELPER_3(ror_cc, i32, env, i32, i32)
40
41DEF_HELPER_1(ucf64_get_fpscr, i32, env)
42DEF_HELPER_2(ucf64_set_fpscr, void, env, i32)
43
44DEF_HELPER_3(ucf64_adds, f32, f32, f32, env)
45DEF_HELPER_3(ucf64_addd, f64, f64, f64, env)
46DEF_HELPER_3(ucf64_subs, f32, f32, f32, env)
47DEF_HELPER_3(ucf64_subd, f64, f64, f64, env)
48DEF_HELPER_3(ucf64_muls, f32, f32, f32, env)
49DEF_HELPER_3(ucf64_muld, f64, f64, f64, env)
50DEF_HELPER_3(ucf64_divs, f32, f32, f32, env)
51DEF_HELPER_3(ucf64_divd, f64, f64, f64, env)
52DEF_HELPER_1(ucf64_negs, f32, f32)
53DEF_HELPER_1(ucf64_negd, f64, f64)
54DEF_HELPER_1(ucf64_abss, f32, f32)
55DEF_HELPER_1(ucf64_absd, f64, f64)
56DEF_HELPER_4(ucf64_cmps, void, f32, f32, i32, env)
57DEF_HELPER_4(ucf64_cmpd, void, f64, f64, i32, env)
58
59DEF_HELPER_2(ucf64_sf2df, f64, f32, env)
60DEF_HELPER_2(ucf64_df2sf, f32, f64, env)
61
62DEF_HELPER_2(ucf64_si2sf, f32, f32, env)
63DEF_HELPER_2(ucf64_si2df, f64, f32, env)
64
65DEF_HELPER_2(ucf64_sf2si, f32, f32, env)
66DEF_HELPER_2(ucf64_df2si, f32, f64, env)
67
68#include "exec/def-helper.h"
69