test: nasm-t -- Add br1879590

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 23:35:46 +03:00
parent f399fa73bb
commit 9b50d362e5
3 changed files with 44 additions and 0 deletions

25
travis/test/br1879590.asm Normal file
View File

@ -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]

View File

@ -0,0 +1 @@
ààããfàfàfãfãààããfàfàfãfã

View File

@ -0,0 +1,18 @@
[
{
"description": "Test br1879590 (-Ox)",
"id": "br1879590",
"format": "bin",
"source": "br1879590.asm",
"option": "-Ox",
"target": [
{ "output": "br1879590.bin" }
]
},
{
"description": "Test br1879590 (-O0)",
"ref": "br1879590",
"option": "-O0",
"update": "false"
}
]