Initial commit
[jitcs.git] / include / tmp / jitcs_x86_common_insids.h
blob76234ad6c878384f3c6145298c2ede7ea0a5a0c9
1 //===-- jitcs_x86_common_insids.h C++ -----------------------------------*-===//
2 //
3 // Register definitions for 32bit x86 code.
4 //
5 //===----------------------------------------------------------------------===//
7 #ifndef _JITCS_X86_COMMON_INSIDS_H_
8 #define _JITCS_X86_COMMON_INSIDS_H_
10 namespace jitcs
12 namespace x86_common
14 enum CondCodeId {
15 CC_O = 0,
16 CC_NO = 1,
17 CC_B = 2,
18 CC_AE = 3,
19 CC_E = 4,
20 CC_NE = 5,
21 CC_BE = 6,
22 CC_A = 7,
23 CC_S = 8,
24 CC_NS = 9,
25 CC_PE = 10,
26 CC_PO = 11,
27 CC_L = 12,
28 CC_GE = 13,
29 CC_LE = 14,
30 CC_G = 15,
32 CC_C = CC_B,
33 CC_NAE= CC_B,
34 CC_NB = CC_AE,
35 CC_NC = CC_AE,
36 CC_Z = CC_E,
37 CC_NZ = CC_NE,
38 CC_NA = CC_BE,
39 CC_NBE= CC_A,
40 CC_P = CC_PE,
41 CC_NP = CC_PO,
42 CC_NGE= CC_L,
43 CC_NL = CC_GE,
44 CC_NG = CC_LE,
45 CC_NLE= CC_G,
48 } // end of namespace jitcs::x86_common
49 } // end of namespace jitcs
50 #endif
51 // _JITCS_X86_COMMON_INSIDS_H_