summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2013-05-13 02:21:08 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2013-05-13 02:21:08 +0400
commit29e2f74a584d00887cd8524f70022143552ab2ba (patch)
treefba1b2ec3ad04c7a54e4f05f8933f714288587ef /test
parentb529149272fca78316f2d4910a06f1b5455214bf (diff)
downloadnasm-29e2f74a584d00887cd8524f70022143552ab2ba.tar.gz
nasm-29e2f74a584d00887cd8524f70022143552ab2ba.tar.bz2
nasm-29e2f74a584d00887cd8524f70022143552ab2ba.zip
test: Add br3392252 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/br3392252.asm43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/br3392252.asm b/test/br3392252.asm
new file mode 100644
index 0000000..82b9e1c
--- /dev/null
+++ b/test/br3392252.asm
@@ -0,0 +1,43 @@
+;Testname=br3392252; Arguments=-Ox -fbin -obrbr3392252.o; Files=stdout stderr br3392252.o
+
+[BITS 64]
+
+ bextr rax, rsi, 1
+ bextr eax, esi, 1
+ bextr eax, esi, eax
+
+ blcfill edx, ebx
+ blcfill edx, [ebx]
+ blcfill rax, rbx
+
+ blci edx, ebx
+ blci edx, [ebx]
+ blci rax, rbx
+
+ blcic edx, ebx
+ blcic edx, [ebx]
+ blcic rax, rbx
+
+ blcmsk edx, ebx
+ blcmsk edx, [ebx]
+ blcmsk rax, rbx
+
+ blcs edx, ebx
+ blcs edx, [ebx]
+ blcs rax, rbx
+
+ blsfill edx, ebx
+ blsfill edx, [ebx]
+ blsfill rax, rbx
+
+ blsic edx, ebx
+ blsic edx, [ebx]
+ blsic rax, rbx
+
+ t1mskc edx, ebx
+ t1mskc edx, [ebx]
+ t1mskc rax, rbx
+
+ tzmsk edx, ebx
+ tzmsk edx, [ebx]
+ tzmsk rax, rbx