mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
Add a failing test for maximum ranges of UD/D immediates.
This commit is contained in:
parent
330903ad81
commit
d72f5c9828
1
assembler/test/.gitignore
vendored
1
assembler/test/.gitignore
vendored
@ -12,3 +12,4 @@ jmpi
|
|||||||
if
|
if
|
||||||
iff
|
iff
|
||||||
while
|
while
|
||||||
|
immediate
|
||||||
|
@ -13,7 +13,8 @@ TESTS = \
|
|||||||
jmpi \
|
jmpi \
|
||||||
if \
|
if \
|
||||||
iff \
|
iff \
|
||||||
while
|
while \
|
||||||
|
immediate
|
||||||
|
|
||||||
# Tests that are expected to fail because they contain some inccorect code.
|
# Tests that are expected to fail because they contain some inccorect code.
|
||||||
XFAIL_TESTS = \
|
XFAIL_TESTS = \
|
||||||
@ -45,7 +46,9 @@ TESTDATA = \
|
|||||||
iff.expected \
|
iff.expected \
|
||||||
iff.g4a \
|
iff.g4a \
|
||||||
while.expected \
|
while.expected \
|
||||||
while.g4a
|
while.g4a \
|
||||||
|
immediate.g4a \
|
||||||
|
immediate.expected
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
${TESTDATA} \
|
${TESTDATA} \
|
||||||
|
3
assembler/test/immediate.expected
Normal file
3
assembler/test/immediate.expected
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{ 0x00000001, 0x20000061, 0x00000000, 0xffffffff },
|
||||||
|
{ 0x00000001, 0x200000e1, 0x00000000, 0x7fffffff },
|
||||||
|
{ 0x00000001, 0x200000e1, 0x00000000, 0x80000000 },
|
3
assembler/test/immediate.g4a
Normal file
3
assembler/test/immediate.g4a
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
mov (1) g0<1>UD 4294967295UD { align1 };
|
||||||
|
mov (1) g0<1>UD 2147483647D { align1 };
|
||||||
|
mov (1) g0<1>UD -2147483648D { align1 };
|
Loading…
x
Reference in New Issue
Block a user