aboutsummaryrefslogtreecommitdiff
path: root/target-alpha/helper.h
blob: 88b19298e113df43735de572b2a3b6e356e90f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef DEF_HELPER
#define DEF_HELPER(ret, name, params) ret name params;
#endif

DEF_HELPER(void, helper_tb_flush, (void))

DEF_HELPER(uint64_t, helper_amask, (uint64_t))

DEF_HELPER(uint64_t, helper_ctpop, (uint64_t))
DEF_HELPER(uint64_t, helper_ctlz, (uint64_t))
DEF_HELPER(uint64_t, helper_cttz, (uint64_t))