summaryrefslogtreecommitdiff
path: root/test/br1879590.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/br1879590.asm')
-rw-r--r--test/br1879590.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/br1879590.asm b/test/br1879590.asm
new file mode 100644
index 0000000..23e3872
--- /dev/null
+++ b/test/br1879590.asm
@@ -0,0 +1,25 @@
+;Testname=unoptimized; Arguments=-O0 -fbin -obr1879590.bin; Files=stdout stderr br1879590.bin
+;Testname=optimized; Arguments=-Ox -fbin -obr1879590.bin; Files=stdout stderr br1879590.bin
+
+ bits 32
+
+ pavgb mm0,[ebx]
+ pavgb mm0,qword [ebx]
+ pavgw mm0,[ebx]
+ pavgw mm0,qword [ebx]
+ pavgb xmm0,[ebx]
+ pavgb xmm0,oword [ebx]
+ pavgw xmm0,[ebx]
+ pavgw xmm0,oword [ebx]
+
+ bits 64
+
+ pavgb mm0,[rbx]
+ pavgb mm0,qword [rbx]
+ pavgw mm0,[rbx]
+ pavgw mm0,qword [rbx]
+ pavgb xmm0,[rbx]
+ pavgb xmm0,oword [rbx]
+ pavgw xmm0,[rbx]
+ pavgw xmm0,oword [rbx]
+