mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-26 17:26:14 +00:00
Initialize the structure used for setting up the ip src/dst in branches/jumps.
This fixes jmpi, if, and iff. The while test still fails to compile.
This commit is contained in:
parent
8828725dc9
commit
56cdee41af
@ -303,6 +303,9 @@ jumpinstruction: JMPI relativelocation2
|
|||||||
* offset is the second source operand. The next instruction
|
* offset is the second source operand. The next instruction
|
||||||
* is the post-incremented IP plus the offset.
|
* is the post-incremented IP plus the offset.
|
||||||
*/
|
*/
|
||||||
|
dst.reg_file = BRW_ARCHITECTURE_REGISTER_FILE;
|
||||||
|
dst.reg_nr = BRW_ARF_IP;
|
||||||
|
dst.subreg_nr = 0;
|
||||||
|
|
||||||
bzero(&$$, sizeof($$));
|
bzero(&$$, sizeof($$));
|
||||||
$$.header.opcode = $1;
|
$$.header.opcode = $1;
|
||||||
@ -326,6 +329,9 @@ branchloopinstruction:
|
|||||||
* offset is the second source operand. The offset is added
|
* offset is the second source operand. The offset is added
|
||||||
* to the pre-incremented IP.
|
* to the pre-incremented IP.
|
||||||
*/
|
*/
|
||||||
|
dst.reg_file = BRW_ARCHITECTURE_REGISTER_FILE;
|
||||||
|
dst.reg_nr = BRW_ARF_IP;
|
||||||
|
dst.subreg_nr = 0;
|
||||||
|
|
||||||
bzero(&$$, sizeof($$));
|
bzero(&$$, sizeof($$));
|
||||||
$$.header.opcode = $2;
|
$$.header.opcode = $2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user