about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/arch.py3
-rw-r--r--test/arch/x86/arch.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 96dc07bd..2498fc47 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -4320,6 +4320,9 @@ addop("pmovmskb", [bs8(0x0f), bs8(0xd7), no_xmm_pref] +
 addop("pmovmskb", [bs8(0x0f), bs8(0xd7), pref_66] +
       rmmod(reg, rm_arg_xmm_reg))
 
+addop("shufps", [bs8(0x0f), bs8(0xc6)] +
+      rmmod(xmm_reg, rm_arg_xmm) + [u08])
+
 
 mn_x86.bintree = factor_one_bit(mn_x86.bintree)
 # mn_x86.bintree = factor_fields_all(mn_x86.bintree)
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index 0131bbb9..bee61a4b 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -2903,6 +2903,9 @@ reg_tests = [
     (m32, "00000000    PMOVMSKB   EAX, XMM7",
      "660FD7C7"),
 
+    (m64, "00000000    SHUFPS     XMM0, XMM6, 0x44",
+     "0fc6c644"),
+
 
 ]