mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 20:00:10 +01:00
nvc0/ir/target: integer ADD doesn't support ABS modifier
This commit is contained in:
parent
18bcb962bb
commit
3a9f036e00
1 changed files with 2 additions and 0 deletions
|
|
@ -481,6 +481,8 @@ TargetNVC0::isModSupported(const Instruction *insn, int s, Modifier mod) const
|
||||||
case OP_XOR:
|
case OP_XOR:
|
||||||
break;
|
break;
|
||||||
case OP_ADD:
|
case OP_ADD:
|
||||||
|
if (mod.abs())
|
||||||
|
return false;
|
||||||
if (insn->src(s ? 0 : 1).mod.neg())
|
if (insn->src(s ? 0 : 1).mod.neg())
|
||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue