diff --git a/bindings/rust/src/x86.rs b/bindings/rust/src/x86.rs index 944ec250..2e796f4e 100644 --- a/bindings/rust/src/x86.rs +++ b/bindings/rust/src/x86.rs @@ -30,214 +30,214 @@ pub enum RegisterX86 { EDX = 24, EFLAGS = 25, EIP = 26, - ES = 27, - ESI = 28, - ESP = 29, - FPSW = 30, - FS = 31, - GS = 32, - IP = 33, - RAX = 34, - RBP = 35, - RBX = 36, - RCX = 37, - RDI = 38, - RDX = 39, - RIP = 40, - RSI = 41, - RSP = 42, - SI = 43, - SIL = 44, - SP = 45, - SPL = 46, - SS = 47, - CR0 = 48, - CR1 = 49, - CR2 = 50, - CR3 = 51, - CR4 = 52, - CR8 = 53, - DR0 = 54, - DR1 = 55, - DR2 = 56, - DR3 = 57, - DR4 = 58, - DR5 = 59, - DR6 = 60, - DR7 = 61, - FP0 = 62, - FP1 = 63, - FP2 = 64, - FP3 = 65, - FP4 = 66, - FP5 = 67, - FP6 = 68, - FP7 = 69, - K0 = 70, - K1 = 71, - K2 = 72, - K3 = 73, - K4 = 74, - K5 = 75, - K6 = 76, - K7 = 77, - MM0 = 78, - MM1 = 79, - MM2 = 80, - MM3 = 81, - MM4 = 82, - MM5 = 83, - MM6 = 84, - MM7 = 85, - R8 = 86, - R9 = 87, - R10 = 88, - R11 = 89, - R12 = 90, - R13 = 91, - R14 = 92, - R15 = 93, - ST0 = 94, - ST1 = 95, - ST2 = 96, - ST3 = 97, - ST4 = 98, - ST5 = 99, - ST6 = 100, - ST7 = 101, - XMM0 = 102, - XMM1 = 103, - XMM2 = 104, - XMM3 = 105, - XMM4 = 106, - XMM5 = 107, - XMM6 = 108, - XMM7 = 109, - XMM8 = 110, - XMM9 = 111, - XMM10 = 112, - XMM11 = 113, - XMM12 = 114, - XMM13 = 115, - XMM14 = 116, - XMM15 = 117, - XMM16 = 118, - XMM17 = 119, - XMM18 = 120, - XMM19 = 121, - XMM20 = 122, - XMM21 = 123, - XMM22 = 124, - XMM23 = 125, - XMM24 = 126, - XMM25 = 127, - XMM26 = 128, - XMM27 = 129, - XMM28 = 130, - XMM29 = 131, - XMM30 = 132, - XMM31 = 133, - YMM0 = 134, - YMM1 = 135, - YMM2 = 136, - YMM3 = 137, - YMM4 = 138, - YMM5 = 139, - YMM6 = 140, - YMM7 = 141, - YMM8 = 142, - YMM9 = 143, - YMM10 = 144, - YMM11 = 145, - YMM12 = 146, - YMM13 = 147, - YMM14 = 148, - YMM15 = 149, - YMM16 = 150, - YMM17 = 151, - YMM18 = 152, - YMM19 = 153, - YMM20 = 154, - YMM21 = 155, - YMM22 = 156, - YMM23 = 157, - YMM24 = 158, - YMM25 = 159, - YMM26 = 160, - YMM27 = 161, - YMM28 = 162, - YMM29 = 163, - YMM30 = 164, - YMM31 = 165, - ZMM0 = 166, - ZMM1 = 167, - ZMM2 = 168, - ZMM3 = 169, - ZMM4 = 170, - ZMM5 = 171, - ZMM6 = 172, - ZMM7 = 173, - ZMM8 = 174, - ZMM9 = 175, - ZMM10 = 176, - ZMM11 = 177, - ZMM12 = 178, - ZMM13 = 179, - ZMM14 = 180, - ZMM15 = 181, - ZMM16 = 182, - ZMM17 = 183, - ZMM18 = 184, - ZMM19 = 185, - ZMM20 = 186, - ZMM21 = 187, - ZMM22 = 188, - ZMM23 = 189, - ZMM24 = 190, - ZMM25 = 191, - ZMM26 = 192, - ZMM27 = 193, - ZMM28 = 194, - ZMM29 = 195, - ZMM30 = 196, - ZMM31 = 197, - R8B = 198, - R9B = 199, - R10B = 200, - R11B = 201, - R12B = 202, - R13B = 203, - R14B = 204, - R15B = 205, - R8D = 206, - R9D = 207, - R10D = 208, - R11D = 209, - R12D = 210, - R13D = 211, - R14D = 212, - R15D = 213, - R8W = 214, - R9W = 215, - R10W = 216, - R11W = 217, - R12W = 218, - R13W = 219, - R14W = 220, - R15W = 221, - IDTR = 222, - GDTR = 223, - LDTR = 224, - TR = 225, - FPCW = 226, - FPTAG = 227, - MSR = 228, - MXCSR = 229, - FS_BASE = 230, - GS_BASE = 231, - FLAGS = 232, - RFLAGS = 233, - ENDING = 234, + ES = 28, + ESI = 29, + ESP = 30, + FPSW = 31, + FS = 32, + GS = 33, + IP = 34, + RAX = 35, + RBP = 36, + RBX = 37, + RCX = 38, + RDI = 39, + RDX = 40, + RIP = 41, + RSI = 43, + RSP = 44, + SI = 45, + SIL = 46, + SP = 47, + SPL = 48, + SS = 49, + CR0 = 50, + CR1 = 51, + CR2 = 52, + CR3 = 53, + CR4 = 54, + CR8 = 58, + DR0 = 66, + DR1 = 67, + DR2 = 68, + DR3 = 69, + DR4 = 70, + DR5 = 71, + DR6 = 72, + DR7 = 73, + FP0 = 82, + FP1 = 83, + FP2 = 84, + FP3 = 85, + FP4 = 86, + FP5 = 87, + FP6 = 88, + FP7 = 89, + K0 = 90, + K1 = 91, + K2 = 92, + K3 = 93, + K4 = 94, + K5 = 95, + K6 = 96, + K7 = 97, + MM0 = 98, + MM1 = 99, + MM2 = 100, + MM3 = 101, + MM4 = 102, + MM5 = 103, + MM6 = 104, + MM7 = 105, + R8 = 106, + R9 = 107, + R10 = 108, + R11 = 109, + R12 = 110, + R13 = 111, + R14 = 112, + R15 = 113, + ST0 = 114, + ST1 = 115, + ST2 = 116, + ST3 = 117, + ST4 = 118, + ST5 = 119, + ST6 = 120, + ST7 = 121, + XMM0 = 122, + XMM1 = 123, + XMM2 = 124, + XMM3 = 125, + XMM4 = 126, + XMM5 = 127, + XMM6 = 128, + XMM7 = 129, + XMM8 = 130, + XMM9 = 131, + XMM10 = 132, + XMM11 = 133, + XMM12 = 134, + XMM13 = 135, + XMM14 = 136, + XMM15 = 137, + XMM16 = 138, + XMM17 = 139, + XMM18 = 140, + XMM19 = 141, + XMM20 = 142, + XMM21 = 143, + XMM22 = 144, + XMM23 = 145, + XMM24 = 146, + XMM25 = 147, + XMM26 = 148, + XMM27 = 149, + XMM28 = 150, + XMM29 = 151, + XMM30 = 152, + XMM31 = 153, + YMM0 = 154, + YMM1 = 155, + YMM2 = 156, + YMM3 = 157, + YMM4 = 158, + YMM5 = 159, + YMM6 = 160, + YMM7 = 161, + YMM8 = 162, + YMM9 = 163, + YMM10 = 164, + YMM11 = 165, + YMM12 = 166, + YMM13 = 167, + YMM14 = 168, + YMM15 = 169, + YMM16 = 170, + YMM17 = 171, + YMM18 = 172, + YMM19 = 173, + YMM20 = 174, + YMM21 = 175, + YMM22 = 176, + YMM23 = 177, + YMM24 = 178, + YMM25 = 179, + YMM26 = 180, + YMM27 = 181, + YMM28 = 182, + YMM29 = 183, + YMM30 = 184, + YMM31 = 185, + ZMM0 = 186, + ZMM1 = 187, + ZMM2 = 188, + ZMM3 = 189, + ZMM4 = 190, + ZMM5 = 191, + ZMM6 = 192, + ZMM7 = 193, + ZMM8 = 194, + ZMM9 = 195, + ZMM10 = 196, + ZMM11 = 197, + ZMM12 = 198, + ZMM13 = 199, + ZMM14 = 200, + ZMM15 = 201, + ZMM16 = 202, + ZMM17 = 203, + ZMM18 = 204, + ZMM19 = 205, + ZMM20 = 206, + ZMM21 = 207, + ZMM22 = 208, + ZMM23 = 209, + ZMM24 = 210, + ZMM25 = 211, + ZMM26 = 212, + ZMM27 = 213, + ZMM28 = 214, + ZMM29 = 215, + ZMM30 = 216, + ZMM31 = 217, + R8B = 218, + R9B = 219, + R10B = 220, + R11B = 221, + R12B = 222, + R13B = 223, + R14B = 224, + R15B = 225, + R8D = 226, + R9D = 227, + R10D = 228, + R11D = 229, + R12D = 230, + R13D = 231, + R14D = 232, + R15D = 233, + R8W = 234, + R9W = 235, + R10W = 236, + R11W = 237, + R12W = 238, + R13W = 239, + R14W = 240, + R15W = 241, + IDTR = 242, + GDTR = 243, + LDTR = 244, + TR = 245, + FPCW = 246, + FPTAG = 247, + MSR = 248, + MXCSR = 249, + FS_BASE = 250, + GS_BASE = 251, + FLAGS = 252, + RFLAGS = 253, + ENDING = 259, } impl From for i32 {