mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-18 21:36:27 +00:00
Make sure BREAK/CONT/HALT work on Gen6.
This commit is contained in:
parent
3de439e2f5
commit
ce55552470
@ -547,8 +547,8 @@ loopinstruction: predicate WHILE execsize relativelocation instoptions
|
|||||||
|
|
||||||
haltinstruction: predicate HALT execsize relativelocation relativelocation instoptions
|
haltinstruction: predicate HALT execsize relativelocation relativelocation instoptions
|
||||||
{
|
{
|
||||||
// for Gen7
|
// for Gen6, Gen7
|
||||||
/* Gen7 bspec: dst and src0 must be the null reg. */
|
/* Gen6, Gen7 bspec: dst and src0 must be the null reg. */
|
||||||
memset(&$$, 0, sizeof($$));
|
memset(&$$, 0, sizeof($$));
|
||||||
set_instruction_predicate(&$$, &$1);
|
set_instruction_predicate(&$$, &$1);
|
||||||
$$.header.opcode = $2;
|
$$.header.opcode = $2;
|
||||||
@ -1092,7 +1092,7 @@ mathinstruction: predicate MATH_INST execsize dst src srcimm math_function insto
|
|||||||
|
|
||||||
breakinstruction: predicate breakop execsize relativelocation relativelocation instoptions
|
breakinstruction: predicate breakop execsize relativelocation relativelocation instoptions
|
||||||
{
|
{
|
||||||
// for Gen7
|
// for Gen6, Gen7
|
||||||
memset(&$$, 0, sizeof($$));
|
memset(&$$, 0, sizeof($$));
|
||||||
set_instruction_predicate(&$$, &$1);
|
set_instruction_predicate(&$$, &$1);
|
||||||
$$.header.opcode = $2;
|
$$.header.opcode = $2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user