about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-06-10 11:09:40 +0200
committerGitHub <noreply@github.com>2018-06-10 11:09:40 +0200
commit7d55449414bdca973632af879694a27a4edf385e (patch)
treefe5ec6fb6ccb757edef262dcf61b36a457f90ee1
parent93a9086a369666ca5fc9ac572405407f1459cb2f (diff)
parent71bef938419c587e7cc214eb3b8a780de18568bd (diff)
downloadmiasm-7d55449414bdca973632af879694a27a4edf385e.tar.gz
miasm-7d55449414bdca973632af879694a27a4edf385e.zip
Merge pull request #753 from acru3l/master
Add XMM0-15 to gpreg_dict[]
Diffstat (limited to '')
-rw-r--r--miasm2/jitter/arch/JitCore_x86.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/miasm2/jitter/arch/JitCore_x86.c b/miasm2/jitter/arch/JitCore_x86.c
index f54cb1d3..eda6e6e5 100644
--- a/miasm2/jitter/arch/JitCore_x86.c
+++ b/miasm2/jitter/arch/JitCore_x86.c
@@ -55,6 +55,23 @@ reg_dict gpreg_dict[] = { {.name = "RAX", .offset = offsetof(vm_cpu_t, RAX)},
 			  {.name = "MM6", .offset = offsetof(vm_cpu_t, MM6)},
 			  {.name = "MM7", .offset = offsetof(vm_cpu_t, MM7)},
 
+			  {.name = "XMM0", .offset = offsetof(vm_cpu_t, XMM0)},
+			  {.name = "XMM1", .offset = offsetof(vm_cpu_t, XMM1)},
+			  {.name = "XMM2", .offset = offsetof(vm_cpu_t, XMM2)},
+			  {.name = "XMM3", .offset = offsetof(vm_cpu_t, XMM3)},
+			  {.name = "XMM4", .offset = offsetof(vm_cpu_t, XMM4)},
+			  {.name = "XMM5", .offset = offsetof(vm_cpu_t, XMM5)},
+			  {.name = "XMM6", .offset = offsetof(vm_cpu_t, XMM6)},
+			  {.name = "XMM7", .offset = offsetof(vm_cpu_t, XMM7)},
+			  {.name = "XMM8", .offset = offsetof(vm_cpu_t, XMM8)},
+			  {.name = "XMM9", .offset = offsetof(vm_cpu_t, XMM9)},
+			  {.name = "XMM10", .offset = offsetof(vm_cpu_t, XMM10)},
+			  {.name = "XMM11", .offset = offsetof(vm_cpu_t, XMM11)},
+			  {.name = "XMM12", .offset = offsetof(vm_cpu_t, XMM12)},
+			  {.name = "XMM13", .offset = offsetof(vm_cpu_t, XMM13)},
+			  {.name = "XMM14", .offset = offsetof(vm_cpu_t, XMM14)},
+			  {.name = "XMM15", .offset = offsetof(vm_cpu_t, XMM15)},
+
 			  {.name = "tsc1", .offset = offsetof(vm_cpu_t, tsc1)},
 			  {.name = "tsc2", .offset = offsetof(vm_cpu_t, tsc2)},