kvm: libkvm: pass opague cpu state through libkvm instead of int vcpu
[qemu-kvm/fedora.git] / target-ppc / helper.h
blobe9021c943f1af78c1be549a6d2fd1d6b1efa00ec
1 #ifndef DEF_HELPER
2 #define DEF_HELPER(ret, name, params) ret name params;
3 #endif
5 DEF_HELPER(uint32_t, helper_fcmpo, (void))
6 DEF_HELPER(uint32_t, helper_fcmpu, (void))
8 DEF_HELPER(uint32_t, helper_load_cr, (void))
9 DEF_HELPER(void, helper_store_cr, (target_ulong, uint32_t))
11 #if defined(TARGET_PPC64)
12 DEF_HELPER(uint64_t, helper_mulhd, (uint64_t, uint64_t))
13 DEF_HELPER(uint64_t, helper_mulhdu, (uint64_t, uint64_t))
14 DEF_HELPER(uint64_t, helper_mulldo, (uint64_t, uint64_t))
15 #endif
17 DEF_HELPER(target_ulong, helper_cntlzw, (target_ulong t))
18 DEF_HELPER(target_ulong, helper_popcntb, (target_ulong val))
19 DEF_HELPER(target_ulong, helper_sraw, (target_ulong, target_ulong))
20 #if defined(TARGET_PPC64)
21 DEF_HELPER(target_ulong, helper_cntlzd, (target_ulong t))
22 DEF_HELPER(target_ulong, helper_popcntb_64, (target_ulong val))
23 DEF_HELPER(target_ulong, helper_srad, (target_ulong, target_ulong))
24 #endif
26 DEF_HELPER(uint32_t, helper_cntlsw32, (uint32_t))
27 DEF_HELPER(uint32_t, helper_cntlzw32, (uint32_t))
28 DEF_HELPER(uint32_t, helper_brinc, (uint32_t, uint32_t))