mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 02:20:11 +01:00
nv50/ir: add precise field to Instruction
v4: initialize field with NULL Signed-off-by: Karol Herbst <karolherbst@gmail.com> Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
This commit is contained in:
parent
4ad9e2e17a
commit
1d7c232fbd
2 changed files with 3 additions and 0 deletions
|
|
@ -575,6 +575,7 @@ void Instruction::init()
|
||||||
encSize = 0;
|
encSize = 0;
|
||||||
ipa = 0;
|
ipa = 0;
|
||||||
mask = 0;
|
mask = 0;
|
||||||
|
precise = 0;
|
||||||
|
|
||||||
lanes = 0xf;
|
lanes = 0xf;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -884,6 +884,8 @@ public:
|
||||||
unsigned perPatch : 1;
|
unsigned perPatch : 1;
|
||||||
unsigned exit : 1; // terminate program after insn
|
unsigned exit : 1; // terminate program after insn
|
||||||
unsigned mask : 4; // for vector ops
|
unsigned mask : 4; // for vector ops
|
||||||
|
// prevent algebraic optimisations that aren't bit-for-bit identical
|
||||||
|
unsigned precise : 1;
|
||||||
|
|
||||||
int8_t postFactor; // MUL/DIV(if < 0) by 1 << postFactor
|
int8_t postFactor; // MUL/DIV(if < 0) by 1 << postFactor
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue