Commit b83311f
Fix GenISA_Int4VectorPack (clear top 4 input bits)
Original GenISA_Int4VectorPack implementation assumed that upper
4 input bits will always be equal to zero.
Add `and` instructions which will clear upper 4 bits.1 parent 4074fd7 commit b83311f
File tree
3 files changed
+16
-16
lines changed- IGC/Compiler
- CISACodeGen
- tests/EmitVISAPass/emit-int4-vector
3 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21328 | 21328 | | |
21329 | 21329 | | |
21330 | 21330 | | |
| 21331 | + | |
21331 | 21332 | | |
21332 | 21333 | | |
21333 | | - | |
21334 | 21334 | | |
| 21335 | + | |
| 21336 | + | |
21335 | 21337 | | |
21336 | 21338 | | |
21337 | 21339 | | |
21338 | 21340 | | |
21339 | 21341 | | |
21340 | | - | |
21341 | | - | |
21342 | | - | |
21343 | | - | |
21344 | | - | |
21345 | | - | |
| 21342 | + | |
| 21343 | + | |
| 21344 | + | |
21346 | 21345 | | |
21347 | 21346 | | |
21348 | 21347 | | |
| |||
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments