about summary refs log tree commit diff stats
path: root/src/dynarec/arm64/dynarec_arm64_consts.h
blob: e6620388f37f378893dcd4e50334ddaae0d6dc15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
#ifndef __DYNAREC_ARM64_CONSTS__
#define __DYNAREC_ARM64_CONSTS__
#include <stdint.h>

typedef enum arm64_consts_s {
    const_none,
    const_daa8,
    const_das8,
    const_aaa16,
    const_aas16,
    const_aam16,
    const_aad16,
    const_native_br,
    const_native_ud,
    const_native_priv,
    const_native_gpf,
    const_native_int3,
    const_native_int,
    const_native_div0,
    const_native_clflush,
    const_native_frstor16,
    const_native_fsave16,
    const_native_fsave,
    const_native_aesimc,
    const_native_aesd,
    const_native_aesd_y,
    const_native_aesdlast,
    const_native_aesdlast_y,
    const_native_aese,
    const_native_aese_y,
    const_native_aeselast,
    const_native_aeselast_y,
    const_native_aeskeygenassist,
    const_native_pclmul,
    const_native_pclmul_x,
    const_native_pclmul_y,
    const_native_f2xm1,
    const_native_fyl2x,
    const_native_fyl2xp1,
    const_native_fxtract,
    const_native_ftan,
    const_native_fpatan,
    const_native_fcos,
    const_native_fsin,
    const_native_fsincos,
    const_native_fscale,
    const_native_fld,
    const_native_fstp,
    const_native_frstor,
    const_native_next,
    const_int3,
    const_x86syscall,
    const_x64syscall,
    const_rcl16,
    const_rcl32,
    const_rcl64,
    const_rcr16,
    const_rcr32,
    const_rcr64,
    const_div64,
    const_idiv64,
    const_random32,
    const_random64,
    const_readtsc,
    const_helper_getcpu,
    const_cpuid,
    const_getsegmentbase,
    const_updateflags_arm64,
    const_reset_fpu,
    const_sha1msg2,
    const_sha1rnds4,
    const_sha256msg1,
    const_sha256msg2,
    const_sha256rnds2,
    const_fpu_loadenv,
    const_fpu_savenv,
    const_fpu_fxsave32,
    const_fpu_fxsave64,
    const_fpu_fxrstor32,
    const_fpu_fxrstor64,
    const_fpu_xsave,
    const_fpu_xrstor,
    const_fpu_fbld,
    const_fpu_fbst,
    const_sse42_compare_string_explicit_len,
    const_sse42_compare_string_implicit_len,
    const_x64test_step,
    const_printtrace,
    const_epilog,
    const_jmptbl32,
    const_jmptbl48,
    const_jmptbl64,
    const_context,
    const_8b_m7_m6_m5_m4_m3_m2_m1_0,
    const_8b_7_6_5_4_3_2_1_0,
    const_8b_15_14_13_12_11_10_9_8,
    const_4f_m1_1_m1_1,
    const_2d_m1_1,
    const_4f_1_m1_1_m1,
    const_2d_1_m1,

    const_last
} arm64_consts_t;

uintptr_t getConst(arm64_consts_t which);

// temporary define...
#define const_PrintTrace const_printtrace

#endif //__DYNAREC_ARM64_CONSTS__