summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-09-26 21:50:26 +0200
committerSamuel Pitoiset <[email protected]>2016-09-26 21:59:37 +0200
commitf24b517858b475a903a13002b0bd8d52b22609b4 (patch)
treeaf1c381a7dae33fedbccd2460f0d51363544247c
parentecd6fce2611e88ff8468a354cff8eda39f260a31 (diff)
nv50/ir: fix comments about instructions info
Signed-off-by: Samuel Pitoiset <[email protected]> Acked-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
index b37ea730d0e..1246cc65bca 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp
@@ -113,12 +113,13 @@ void TargetNV50::initOpInfo()
static const uint32_t commutative[(OP_LAST + 31) / 32] =
{
- // ADD,MAD,MUL,AND,OR,XOR,MAX,MIN
+ // ADD, MUL, MAD, FMA, AND, OR, XOR, MAX, MIN, SET_AND, SET_OR, SET_XOR,
+ // SET, SELP, SLCT
0x0670ca00, 0x0000003f, 0x00000000, 0x00000000
};
static const uint32_t shortForm[(OP_LAST + 31) / 32] =
{
- // MOV,ADD,SUB,MUL,MAD,SAD,L/PINTERP,RCP,TEX,TXF
+ // MOV, ADD, SUB, MUL, MAD, SAD, RCP, L/PINTERP, TEX, TXF
0x00014e40, 0x00000040, 0x00000930, 0x00000000
};
static const operation noDestList[] =