root / targetalpha / helper.h @ 04acd307
History  View  Annotate  Download (1.8 kB)
1 
#ifndef DEF_HELPER


2 
#define DEF_HELPER(ret, name, params) ret name params;

3 
#endif

4  
5 
DEF_HELPER(void, helper_tb_flush, (void)) 
6  
7 
DEF_HELPER(void, helper_excp, (int, int)) 
8 
DEF_HELPER(uint64_t, helper_amask, (uint64_t)) 
9 
DEF_HELPER(uint64_t, helper_load_pcc, (void))

10 
DEF_HELPER(uint64_t, helper_load_implver, (void))

11 
DEF_HELPER(uint64_t, helper_rc, (void))

12 
DEF_HELPER(uint64_t, helper_rs, (void))

13  
14 
DEF_HELPER(uint64_t, helper_addqv, (uint64_t, uint64_t)) 
15 
DEF_HELPER(uint64_t, helper_addlv, (uint64_t, uint64_t)) 
16 
DEF_HELPER(uint64_t, helper_subqv, (uint64_t, uint64_t)) 
17 
DEF_HELPER(uint64_t, helper_sublv, (uint64_t, uint64_t)) 
18 
DEF_HELPER(uint64_t, helper_mullv, (uint64_t, uint64_t)) 
19 
DEF_HELPER(uint64_t, helper_mulqv, (uint64_t, uint64_t)) 
20 
DEF_HELPER(uint64_t, helper_umulh, (uint64_t, uint64_t)) 
21  
22 
DEF_HELPER(uint64_t, helper_ctpop, (uint64_t)) 
23 
DEF_HELPER(uint64_t, helper_ctlz, (uint64_t)) 
24 
DEF_HELPER(uint64_t, helper_cttz, (uint64_t)) 
25  
26 
DEF_HELPER(uint64_t, helper_mskbl, (int64_t, uint64_t)) 
27 
DEF_HELPER(uint64_t, helper_insbl, (int64_t, uint64_t)) 
28 
DEF_HELPER(uint64_t, helper_mskwl, (int64_t, uint64_t)) 
29 
DEF_HELPER(uint64_t, helper_inswl, (int64_t, uint64_t)) 
30 
DEF_HELPER(uint64_t, helper_mskll, (int64_t, uint64_t)) 
31 
DEF_HELPER(uint64_t, helper_insll, (int64_t, uint64_t)) 
32 
DEF_HELPER(uint64_t, helper_zap, (int64_t, uint64_t)) 
33 
DEF_HELPER(uint64_t, helper_zapnot, (int64_t, uint64_t)) 
34 
DEF_HELPER(uint64_t, helper_mskql, (int64_t, uint64_t)) 
35 
DEF_HELPER(uint64_t, helper_insql, (int64_t, uint64_t)) 
36 
DEF_HELPER(uint64_t, helper_mskwh, (int64_t, uint64_t)) 
37 
DEF_HELPER(uint64_t, helper_inswh, (int64_t, uint64_t)) 
38 
DEF_HELPER(uint64_t, helper_msklh, (int64_t, uint64_t)) 
39 
DEF_HELPER(uint64_t, helper_inslh, (int64_t, uint64_t)) 
40 
DEF_HELPER(uint64_t, helper_mskqh, (int64_t, uint64_t)) 
41 
DEF_HELPER(uint64_t, helper_insqh, (int64_t, uint64_t)) 
42  
43 
DEF_HELPER(uint64_t, helper_cmpbge, (uint64_t, uint64_t)) 