about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-02-09 11:15:14 +0100
committerAjax <commial@gmail.com>2018-02-09 17:36:31 +0100
commit649c7b519fc93e9ef5750d03dfcc3e91c2968a36 (patch)
tree2b75e8995f06a2c9ccb953e2cc0b4ed471422255 /miasm2/arch/x86/arch.py
parent4a94e84923d8ac059fc2c41a5876835613204ad2 (diff)
downloadmiasm-649c7b519fc93e9ef5750d03dfcc3e91c2968a36.tar.gz
miasm-649c7b519fc93e9ef5750d03dfcc3e91c2968a36.zip
Add PSADBW instruction
0F F6 /r 	PSADBW mm1, mm2/m64
66 0F F6 /r 	PSADBW xmm1, xmm2/m128
Diffstat (limited to '')
-rw-r--r--miasm2/arch/x86/arch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index ae5f3fd7..a9a59a08 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -4534,6 +4534,11 @@ addop("pmaddwd", [bs8(0x0f), bs8(0xf5), no_xmm_pref] +
 addop("pmaddwd", [bs8(0x0f), bs8(0xf5), pref_66] +
       rmmod(xmm_reg, rm_arg_xmm_m128))
 
+addop("psadbw", [bs8(0x0f), bs8(0xf6), no_xmm_pref] +
+      rmmod(mm_reg, rm_arg_mm_m64))
+addop("psadbw", [bs8(0x0f), bs8(0xf6), pref_66] +
+      rmmod(xmm_reg, rm_arg_xmm_m128))
+
 mn_x86.bintree = factor_one_bit(mn_x86.bintree)
 # mn_x86.bintree = factor_fields_all(mn_x86.bintree)
 """