mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
Add tests for jmpi, if, iff, and while, revealing issues.
This commit is contained in:
parent
cc865f1bc0
commit
8828725dc9
4
assembler/test/.gitignore
vendored
4
assembler/test/.gitignore
vendored
@ -8,3 +8,7 @@ rndu
|
||||
rndz
|
||||
lzd
|
||||
not
|
||||
jmpi
|
||||
if
|
||||
iff
|
||||
while
|
||||
|
@ -9,7 +9,11 @@ TESTS = \
|
||||
rnde-intsrc \
|
||||
rndz \
|
||||
lzd \
|
||||
not
|
||||
not \
|
||||
jmpi \
|
||||
if \
|
||||
iff \
|
||||
while
|
||||
|
||||
# Tests that are expected to fail because they contain some inccorect code.
|
||||
XFAIL_TESTS = \
|
||||
@ -33,7 +37,15 @@ TESTDATA = \
|
||||
lzd.expected \
|
||||
lzd.g4a \
|
||||
not.expected \
|
||||
not.g4a
|
||||
not.g4a \
|
||||
jmpi.expected \
|
||||
jmpi.g4a \
|
||||
if.expected \
|
||||
if.g4a \
|
||||
iff.expected \
|
||||
iff.g4a \
|
||||
while.expected \
|
||||
while.g4a
|
||||
|
||||
EXTRA_DIST = \
|
||||
${TESTDATA} \
|
||||
|
1
assembler/test/if.expected
Normal file
1
assembler/test/if.expected
Normal file
@ -0,0 +1 @@
|
||||
{ 0x00000022, 0x34001c00, 0x00011400, 0x00000002 },
|
1
assembler/test/if.g4a
Normal file
1
assembler/test/if.g4a
Normal file
@ -0,0 +1 @@
|
||||
if 2;
|
1
assembler/test/iff.expected
Normal file
1
assembler/test/iff.expected
Normal file
@ -0,0 +1 @@
|
||||
{ 0x00000023, 0x34001c00, 0x00011400, 0x00000002 },
|
1
assembler/test/iff.g4a
Normal file
1
assembler/test/iff.g4a
Normal file
@ -0,0 +1 @@
|
||||
iff 2;
|
1
assembler/test/jmpi.expected
Normal file
1
assembler/test/jmpi.expected
Normal file
@ -0,0 +1 @@
|
||||
{ 0x00000020, 0x34001c00, 0x00011400, 0x00000002 },
|
1
assembler/test/jmpi.g4a
Normal file
1
assembler/test/jmpi.g4a
Normal file
@ -0,0 +1 @@
|
||||
jmpi 2;
|
1
assembler/test/while.expected
Normal file
1
assembler/test/while.expected
Normal file
@ -0,0 +1 @@
|
||||
{ 0x00000027, 0x34001c00, 0x00011400, 0x0000007e },
|
1
assembler/test/while.g4a
Normal file
1
assembler/test/while.g4a
Normal file
@ -0,0 +1 @@
|
||||
while -2;
|
Loading…
x
Reference in New Issue
Block a user