mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +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
|
||||
iff
|
||||
while
|
||||
immediate
|
||||
|
@ -13,7 +13,8 @@ TESTS = \
|
||||
jmpi \
|
||||
if \
|
||||
iff \
|
||||
while
|
||||
while \
|
||||
immediate
|
||||
|
||||
# Tests that are expected to fail because they contain some inccorect code.
|
||||
XFAIL_TESTS = \
|
||||
@ -45,7 +46,9 @@ TESTDATA = \
|
||||
iff.expected \
|
||||
iff.g4a \
|
||||
while.expected \
|
||||
while.g4a
|
||||
while.g4a \
|
||||
immediate.g4a \
|
||||
immediate.expected
|
||||
|
||||
EXTRA_DIST = \
|
||||
${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