From 92b033a89ebd46d640ecb2592159087a87e5516e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 24 Sep 2012 16:49:43 -0400 Subject: radeon/llvm: Fix instruction encoding for r600 family GPUs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by: Michel Dänzer https://bugs.freedesktop.org/show_bug.cgi?id=55217 --- src/gallium/drivers/radeon/R600Defines.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gallium/drivers/radeon/R600Defines.h') diff --git a/src/gallium/drivers/radeon/R600Defines.h b/src/gallium/drivers/radeon/R600Defines.h index 655b9844592..20c357cc15f 100644 --- a/src/gallium/drivers/radeon/R600Defines.h +++ b/src/gallium/drivers/radeon/R600Defines.h @@ -21,3 +21,15 @@ // operand. #define GET_FLAG_OPERAND_IDX(Flags) (((Flags) >> 7) & 0x3) +namespace R600_InstFlag { + enum TIF { + TRANS_ONLY = (1 << 0), + TEX = (1 << 1), + REDUCTION = (1 << 2), + FC = (1 << 3), + TRIG = (1 << 4), + OP3 = (1 << 5), + VECTOR = (1 << 6) + //FlagOperand bits 7, 8 + }; +} -- cgit v1.2.3