Statistics
| Branch: | Revision:

root / target-alpha / helper.h @ 8579095b

History | View | Annotate | Download (3.7 kB)

1
#include "def-helper.h"
2

    
3
DEF_HELPER_0(tb_flush, void)
4

    
5
DEF_HELPER_2(excp, void, int, int)
6
DEF_HELPER_1(amask, i64, i64)
7
DEF_HELPER_0(load_pcc, i64)
8
DEF_HELPER_0(rc, i64)
9
DEF_HELPER_0(rs, i64)
10

    
11
DEF_HELPER_2(addqv, i64, i64, i64)
12
DEF_HELPER_2(addlv, i64, i64, i64)
13
DEF_HELPER_2(subqv, i64, i64, i64)
14
DEF_HELPER_2(sublv, i64, i64, i64)
15
DEF_HELPER_2(mullv, i64, i64, i64)
16
DEF_HELPER_2(mulqv, i64, i64, i64)
17
DEF_HELPER_2(umulh, i64, i64, i64)
18

    
19
DEF_HELPER_1(ctpop, i64, i64)
20
DEF_HELPER_1(ctlz, i64, i64)
21
DEF_HELPER_1(cttz, i64, i64)
22

    
23
DEF_HELPER_2(mskbl, i64, i64, i64)
24
DEF_HELPER_2(insbl, i64, i64, i64)
25
DEF_HELPER_2(mskwl, i64, i64, i64)
26
DEF_HELPER_2(inswl, i64, i64, i64)
27
DEF_HELPER_2(mskll, i64, i64, i64)
28
DEF_HELPER_2(insll, i64, i64, i64)
29
DEF_HELPER_2(zap, i64, i64, i64)
30
DEF_HELPER_2(zapnot, i64, i64, i64)
31
DEF_HELPER_2(mskql, i64, i64, i64)
32
DEF_HELPER_2(insql, i64, i64, i64)
33
DEF_HELPER_2(mskwh, i64, i64, i64)
34
DEF_HELPER_2(inswh, i64, i64, i64)
35
DEF_HELPER_2(msklh, i64, i64, i64)
36
DEF_HELPER_2(inslh, i64, i64, i64)
37
DEF_HELPER_2(mskqh, i64, i64, i64)
38
DEF_HELPER_2(insqh, i64, i64, i64)
39

    
40
DEF_HELPER_2(cmpbge, i64, i64, i64)
41

    
42
DEF_HELPER_0(load_fpcr, i64)
43
DEF_HELPER_1(store_fpcr, void, i64)
44

    
45
DEF_HELPER_1(f_to_memory, i32, i64)
46
DEF_HELPER_1(memory_to_f, i64, i32)
47
DEF_HELPER_2(addf, i64, i64, i64)
48
DEF_HELPER_2(subf, i64, i64, i64)
49
DEF_HELPER_2(mulf, i64, i64, i64)
50
DEF_HELPER_2(divf, i64, i64, i64)
51
DEF_HELPER_1(sqrtf, i64, i64)
52

    
53
DEF_HELPER_1(g_to_memory, i64, i64)
54
DEF_HELPER_1(memory_to_g, i64, i64)
55
DEF_HELPER_2(addg, i64, i64, i64)
56
DEF_HELPER_2(subg, i64, i64, i64)
57
DEF_HELPER_2(mulg, i64, i64, i64)
58
DEF_HELPER_2(divg, i64, i64, i64)
59
DEF_HELPER_1(sqrtg, i64, i64)
60

    
61
DEF_HELPER_1(s_to_memory, i32, i64)
62
DEF_HELPER_1(memory_to_s, i64, i32)
63
DEF_HELPER_2(adds, i64, i64, i64)
64
DEF_HELPER_2(subs, i64, i64, i64)
65
DEF_HELPER_2(muls, i64, i64, i64)
66
DEF_HELPER_2(divs, i64, i64, i64)
67
DEF_HELPER_1(sqrts, i64, i64)
68

    
69
DEF_HELPER_2(addt, i64, i64, i64)
70
DEF_HELPER_2(subt, i64, i64, i64)
71
DEF_HELPER_2(mult, i64, i64, i64)
72
DEF_HELPER_2(divt, i64, i64, i64)
73
DEF_HELPER_1(sqrtt, i64, i64)
74

    
75
DEF_HELPER_2(cmptun, i64, i64, i64)
76
DEF_HELPER_2(cmpteq, i64, i64, i64)
77
DEF_HELPER_2(cmptle, i64, i64, i64)
78
DEF_HELPER_2(cmptlt, i64, i64, i64)
79
DEF_HELPER_2(cmpgeq, i64, i64, i64)
80
DEF_HELPER_2(cmpgle, i64, i64, i64)
81
DEF_HELPER_2(cmpglt, i64, i64, i64)
82

    
83
DEF_HELPER_1(cmpfeq, i64, i64)
84
DEF_HELPER_1(cmpfne, i64, i64)
85
DEF_HELPER_1(cmpflt, i64, i64)
86
DEF_HELPER_1(cmpfle, i64, i64)
87
DEF_HELPER_1(cmpfgt, i64, i64)
88
DEF_HELPER_1(cmpfge, i64, i64)
89

    
90
DEF_HELPER_2(cpys, i64, i64, i64)
91
DEF_HELPER_2(cpysn, i64, i64, i64)
92
DEF_HELPER_2(cpyse, i64, i64, i64)
93

    
94
DEF_HELPER_1(cvtts, i64, i64)
95
DEF_HELPER_1(cvtst, i64, i64)
96
DEF_HELPER_1(cvttq, i64, i64)
97
DEF_HELPER_1(cvtqs, i64, i64)
98
DEF_HELPER_1(cvtqt, i64, i64)
99
DEF_HELPER_1(cvtqf, i64, i64)
100
DEF_HELPER_1(cvtgf, i64, i64)
101
DEF_HELPER_1(cvtgq, i64, i64)
102
DEF_HELPER_1(cvtqg, i64, i64)
103
DEF_HELPER_1(cvtlq, i64, i64)
104
DEF_HELPER_1(cvtql, i64, i64)
105
DEF_HELPER_1(cvtqlv, i64, i64)
106
DEF_HELPER_1(cvtqlsv, i64, i64)
107

    
108
#if !defined (CONFIG_USER_ONLY)
109
DEF_HELPER_0(hw_rei, void)
110
DEF_HELPER_1(hw_ret, void, i64)
111
DEF_HELPER_2(mfpr, i64, int, i64)
112
DEF_HELPER_2(mtpr, void, int, i64)
113
DEF_HELPER_0(set_alt_mode, void)
114
DEF_HELPER_0(restore_mode, void)
115

    
116
DEF_HELPER_1(ld_virt_to_phys, i64, i64)
117
DEF_HELPER_1(st_virt_to_phys, i64, i64)
118
DEF_HELPER_2(ldl_raw, void, i64, i64)
119
DEF_HELPER_2(ldq_raw, void, i64, i64)
120
DEF_HELPER_2(ldl_l_raw, void, i64, i64)
121
DEF_HELPER_2(ldq_l_raw, void, i64, i64)
122
DEF_HELPER_2(ldl_kernel, void, i64, i64)
123
DEF_HELPER_2(ldq_kernel, void, i64, i64)
124
DEF_HELPER_2(ldl_data, void, i64, i64)
125
DEF_HELPER_2(ldq_data, void, i64, i64)
126
DEF_HELPER_2(stl_raw, void, i64, i64)
127
DEF_HELPER_2(stq_raw, void, i64, i64)
128
DEF_HELPER_2(stl_c_raw, i64, i64, i64)
129
DEF_HELPER_2(stq_c_raw, i64, i64, i64)
130
#endif
131

    
132
#include "def-helper.h"