shift test fails with TCE
Bug #1180309 reported by
Pekka Jääskeläinen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TCE |
New
|
Undecided
|
Unassigned | ||
pocl |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With LLVM 3.2rc1 and the current TCE from lp:tce.
Running test test_rotate...
+FAIL: shift left (<<) type=int2 pattern=0x1 shiftbase=0 shiftoffset=1 val=0x01010101 count=0x00000000 res=0x02020202 good=0x01010101
+FAIL: shift left (<<) type=int2 pattern=0x1 shiftbase=0 shiftoffset=1 val=0x01010101 count=0x00000001 res=0x01010101 good=0x02020202
+FAIL: shift left (<<) type=uint2 pattern=0x1 shiftbase=0 shiftoffset=1 val=0x01010101 count=0x00000000 res=0x02020202 good=0x01010101
+FAIL: shift left (<<) type=uint2 pattern=0x1 shiftbase=0 shiftoffset=1 val=0x01010101 count=0x00000001 res=0x01010101 good=0x02020202
OK
Some kind of off-by-one errors when shifting the vector datatypes?
Changed in pocl: | |
status: | New → Invalid |
To post a comment you must log in.
Most likely a TCE backend bug, I'll move it there.