Commit a1f7a26
Fix subroutine handling for
Previously, using `intel_reqd_sub_group_size(32)` on DG2 resulted in two
redundant SIMD32 call instructions being generated in vISA, which could
lead to unexpected issues. This change ensures that only a single SIMD32
call instruction is generated. All function arguments and return values
are now correctly passed using two SIMD16 instructions, eliminating
redundancy and improvingintel_reqd_sub_group_size(32)
1 parent ce775e8 commit a1f7a26
File tree
3 files changed
+57
-6
lines changed- IGC
- Compiler/CISACodeGen
- ocloc_tests/features/reqd_sub_group_size
3 files changed
+57
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
353 | | - | |
354 | | - | |
| 352 | + | |
| 353 | + | |
355 | 354 | | |
356 | 355 | | |
357 | 356 | | |
| |||
10712 | 10711 | | |
10713 | 10712 | | |
10714 | 10713 | | |
10715 | | - | |
| 10714 | + | |
10716 | 10715 | | |
10717 | 10716 | | |
10718 | 10717 | | |
| |||
10723 | 10722 | | |
10724 | 10723 | | |
10725 | 10724 | | |
10726 | | - | |
| 10725 | + | |
10727 | 10726 | | |
10728 | 10727 | | |
10729 | 10728 | | |
| |||
10742 | 10741 | | |
10743 | 10742 | | |
10744 | 10743 | | |
10745 | | - | |
| 10744 | + | |
10746 | 10745 | | |
10747 | 10746 | | |
10748 | 10747 | | |
| |||
19167 | 19166 | | |
19168 | 19167 | | |
19169 | 19168 | | |
| 19169 | + | |
| 19170 | + | |
| 19171 | + | |
| 19172 | + | |
| 19173 | + | |
| 19174 | + | |
| 19175 | + | |
19170 | 19176 | | |
19171 | 19177 | | |
19172 | 19178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
442 | 443 | | |
443 | 444 | | |
444 | 445 | | |
| |||
Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments