From f24b517858b475a903a13002b0bd8d52b22609b4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 26 Sep 2016 21:50:26 +0200 Subject: [PATCH] nv50/ir: fix comments about instructions info Signed-off-by: Samuel Pitoiset Acked-by: Ilia Mirkin --- 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[] = -- 2.7.4