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 14:51:30 +0100
committerAjax <commial@gmail.com>2018-02-09 17:36:31 +0100
commit971b683a5f068068a2d775d5807deacd13918cf9 (patch)
tree88f1d24475dbcbd6f4d06d07910b156e6e98a9e6 /miasm2/arch/x86/arch.py
parent8d6b88e240f860b5d41244b5d1f16ea88a2d1cb0 (diff)
downloadmiasm-971b683a5f068068a2d775d5807deacd13918cf9.tar.gz
miasm-971b683a5f068068a2d775d5807deacd13918cf9.zip
Add MASKMOVQ/MASKMOVDQU instruction
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-rw-r--r--miasm2/arch/x86/arch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 4707fde3..40cd4e9c 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -4548,6 +4548,12 @@ addop("pavgw", [bs8(0x0f), bs8(0xe3), no_xmm_pref] +
 addop("pavgw", [bs8(0x0f), bs8(0xe3), pref_66] +
       rmmod(xmm_reg, rm_arg_xmm_m128))
 
+addop("maskmovq", [bs8(0x0f), bs8(0xf7), no_xmm_pref] +
+      rmmod(mm_reg, rm_arg_mm_reg))
+addop("maskmovdqu", [bs8(0x0f), bs8(0xf7), pref_66] +
+      rmmod(xmm_reg, rm_arg_xmm_reg))
+
+
 mn_x86.bintree = factor_one_bit(mn_x86.bintree)
 # mn_x86.bintree = factor_fields_all(mn_x86.bintree)
 """