mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
Fix initialization of null reg for ELSE, and set the pop count right.
This fixes the ELSE test.
This commit is contained in:
parent
a8eb735270
commit
960ca001ca
@ -359,6 +359,12 @@ elseinstruction: ELSE relativelocation
|
|||||||
* offset is the second source operand. The offset is added
|
* offset is the second source operand. The offset is added
|
||||||
* to the IP pre-increment.
|
* to the IP pre-increment.
|
||||||
*/
|
*/
|
||||||
|
dst.reg_file = BRW_ARCHITECTURE_REGISTER_FILE;
|
||||||
|
dst.reg_nr = BRW_ARF_IP;
|
||||||
|
dst.subreg_nr = 0;
|
||||||
|
|
||||||
|
/* Set the istack pop count, which must always be 1. */
|
||||||
|
$2.imm32 |= (1 << 16);
|
||||||
|
|
||||||
bzero(&$$, sizeof($$));
|
bzero(&$$, sizeof($$));
|
||||||
$$.header.opcode = $1;
|
$$.header.opcode = $1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user