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 14:01:22 +0200
committerTim Blazytko <tim.blazytko@rub.de>2016-04-27 14:43:15 +0200
commit4060a192b1f0d6369dc85707f90dd9849f1a070a (patch)
tree650b19c0928f71e213f0cb5dc9b09f3cbe4ed0c0 /miasm2/arch/x86/arch.py
parenta6cf9e8c892c77fa8dbb26f6dfb0b8feef0cd87e (diff)
downloadmiasm-4060a192b1f0d6369dc85707f90dd9849f1a070a.tar.gz
miasm-4060a192b1f0d6369dc85707f90dd9849f1a070a.zip
x86 arch: added x86 opcode decoding for PCMPGTD
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-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 5a0769c6..280090aa 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -4221,6 +4221,11 @@ addop("pcmpeqd", [bs8(0x0f), bs8(0x76), no_xmm_pref] +
 addop("pcmpeqd", [bs8(0x0f), bs8(0x76), pref_66] +
       rmmod(xmm_reg, rm_arg_xmm))
 
+addop("pcmpgtd", [bs8(0x0f), bs8(0x66), no_xmm_pref] +
+      rmmod(mm_reg, rm_arg_mm))
+addop("pcmpgtd", [bs8(0x0f), bs8(0x66), pref_66] +
+      rmmod(xmm_reg, rm_arg_xmm))
+
 
 addop("punpckhbw", [bs8(0x0f), bs8(0x68), no_xmm_pref] +
       rmmod(mm_reg, rm_arg_mm))