about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-12-23 18:19:03 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-12-23 19:54:31 +0100
commitf39a91b146c4a2eb8424f4ad8dec53b96a2a56ab (patch)
treeb6690e4c93a682aca03405077db4d7aee26ef9ce /miasm2/arch/x86/arch.py
parent7e29868e5c637c0608ba257ac6a524ceb3e19e96 (diff)
downloadmiasm-f39a91b146c4a2eb8424f4ad8dec53b96a2a56ab.tar.gz
miasm-f39a91b146c4a2eb8424f4ad8dec53b96a2a56ab.zip
X86: add pushfb
Diffstat (limited to 'miasm2/arch/x86/arch.py')
-rw-r--r--miasm2/arch/x86/arch.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index 74ac0939..36666ea2 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -3895,6 +3895,13 @@ addop("pxor", [bs8(0x0f), bs8(0xef), no_xmm_pref] +
 addop("pxor", [bs8(0x0f), bs8(0xef), pref_66] +
       rmmod(xmm_reg, rm_arg_xmm))
 
+addop("pshufb", [bs8(0x0f), bs8(0x38), bs8(0x00), no_xmm_pref] +
+      rmmod(mm_reg, rm_arg_mm))
+addop("pshufb", [bs8(0x0f), bs8(0x38), bs8(0x00), pref_66] +
+      rmmod(xmm_reg, rm_arg_xmm))
+
+
+
 ### Convert
 ### SS = single precision
 ### SD = double precision