Mesa (master): nv50/ir: fix comments about instructions info
Samuel Pitoiset
hakzsam at kemper.freedesktop.org
Mon Sep 26 20:01:13 UTC 2016
Module: Mesa
Branch: master
Commit: f24b517858b475a903a13002b0bd8d52b22609b4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f24b517858b475a903a13002b0bd8d52b22609b4
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Sep 26 21:50:26 2016 +0200
nv50/ir: fix comments about instructions info
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp | 5 +++--
1 file 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 b37ea73..1246cc6 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[] =
More information about the mesa-commit
mailing list