mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 10:26:12 +00:00
print error message when using math function on Sandybridge.
Sandybridge doesn't have math funtion, instead it supports a set of math instructions. The support for math instructions will be added later. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
This commit is contained in:
parent
9d2be25838
commit
718cd6cb42
@ -595,7 +595,10 @@ msgtarget: NULL_TOKEN
|
|||||||
}
|
}
|
||||||
| MATH math_function saturate math_signed math_scalar
|
| MATH math_function saturate math_signed math_scalar
|
||||||
{
|
{
|
||||||
if (gen_level == 5) {
|
if (gen_level == 6) {
|
||||||
|
fprintf (stderr, "Gen6+ donesn't have math function\n");
|
||||||
|
YYERROR;
|
||||||
|
} else if (gen_level == 5) {
|
||||||
$$.bits2.send_gen5.sfid = BRW_MESSAGE_TARGET_MATH;
|
$$.bits2.send_gen5.sfid = BRW_MESSAGE_TARGET_MATH;
|
||||||
$$.bits3.generic_gen5.header_present = 0;
|
$$.bits3.generic_gen5.header_present = 0;
|
||||||
$$.bits3.math_gen5.function = $2;
|
$$.bits3.math_gen5.function = $2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user