mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-27 09:46:28 +00:00
Add DO and ENDIF instructions.
This commit is contained in:
parent
74c81af3dd
commit
d77712994d
@ -296,6 +296,20 @@ specialinstruction: NOP
|
||||
bzero(&$$, sizeof($$));
|
||||
$$.header.opcode = $1;
|
||||
}
|
||||
| DO
|
||||
{
|
||||
bzero(&$$, sizeof($$));
|
||||
$$.header.opcode = $1;
|
||||
}
|
||||
| ENDIF
|
||||
{
|
||||
bzero(&$$, sizeof($$));
|
||||
$$.header.opcode = $1;
|
||||
$$.bits1.da1.src1_reg_file = BRW_IMMEDIATE_VALUE;
|
||||
$$.bits1.da1.src1_reg_type = BRW_REGISTER_TYPE_UD;
|
||||
$$.bits3.if_else.pop_count = 1;
|
||||
}
|
||||
|
||||
;
|
||||
|
||||
/* XXX! */
|
||||
|
Loading…
x
Reference in New Issue
Block a user