about summary refs log tree commit diff stats
path: root/test/arch/x86/arch.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-12-24 01:43:22 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-12-24 18:38:19 +0100
commitf95a9cb25ef0c94f9b0af8952f459e346de9b5a2 (patch)
treec7f513ae36e71f030a9c852e5b55aa135671a9fd /test/arch/x86/arch.py
parent7b23f2d519bc80870ea9d79c5cda02cef5141ce6 (diff)
downloadmiasm-f95a9cb25ef0c94f9b0af8952f459e346de9b5a2.tar.gz
miasm-f95a9cb25ef0c94f9b0af8952f459e346de9b5a2.zip
X86: add pextr
Diffstat (limited to 'test/arch/x86/arch.py')
-rw-r--r--test/arch/x86/arch.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/arch/x86/arch.py b/test/arch/x86/arch.py
index c35a630c..00322037 100644
--- a/test/arch/x86/arch.py
+++ b/test/arch/x86/arch.py
@@ -2773,6 +2773,32 @@ reg_tests = [
     (m64, "00000000    PINSRQ     XMM2, QWORD PTR [RDX], 0x5",
     "66480F3A221205"),
 
+
+
+
+
+    (m32, "00000000    PEXTRB     BYTE PTR [EDX], XMM2, 0x5",
+    "660F3A141205"),
+    (m32, "00000000    PEXTRB     EAX, XMM2, 0x5",
+    "660F3A14D005"),
+
+    (m32, "00000000    PEXTRW     WORD PTR [EDX], XMM2, 0x5",
+    "660F3A151205"),
+
+
+    (m32, "00000000    PEXTRW     WORD PTR [EDX], MM2, 0x5",
+    "0FC51205"),
+    (m32, "00000000    PEXTRW     WORD PTR [EDX], XMM2, 0x5",
+    "660FC51205"),
+
+    (m32, "00000000    PEXTRD     DWORD PTR [EDX], XMM2, 0x5",
+    "660F3A161205"),
+
+    (m64, "00000000    PEXTRD     DWORD PTR [RDX], XMM2, 0x5",
+    "660F3A161205"),
+    (m64, "00000000    PEXTRQ     QWORD PTR [RDX], XMM2, 0x5",
+    "66480F3A161205"),
+
 ]