about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorTim Blazytko <tim.blazytko@rub.de>2016-04-27 13:42:17 +0200
committerTim Blazytko <tim.blazytko@rub.de>2016-04-27 14:42:44 +0200
commita6cf9e8c892c77fa8dbb26f6dfb0b8feef0cd87e (patch)
tree61856605d3119fc791e67ab0e7c4cb6e7c7f2264 /miasm2/arch/x86/arch.py
parent8eb0ecb6c1f26b11695bf71451b6b582f10c1c24 (diff)
downloadmiasm-a6cf9e8c892c77fa8dbb26f6dfb0b8feef0cd87e.tar.gz
miasm-a6cf9e8c892c77fa8dbb26f6dfb0b8feef0cd87e.zip
x86 arch: added x86 opcode decoding for SHUFPD
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-rw-r--r--miasm2/arch/x86/arch.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 2498fc47..5a0769c6 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -4320,7 +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)] +
+addop("shufps", [bs8(0x0f), bs8(0xc6), no_xmm_pref] +
+      rmmod(xmm_reg, rm_arg_xmm) + [u08])
+addop("shufpd", [bs8(0x0f), bs8(0xc6), pref_66] +
       rmmod(xmm_reg, rm_arg_xmm) + [u08])