[Beignet] [PATCH 3/4] GBE: fix disassembly bug.

Zhigang Gong zhigang.gong at intel.com
Mon Nov 3 00:24:33 PST 2014


Those math attributes are not valid on Gen7/7.5.

Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
---
 backend/src/backend/gen/gen_mesa_disasm.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/backend/src/backend/gen/gen_mesa_disasm.c b/backend/src/backend/gen/gen_mesa_disasm.c
index 876bbeb..872d4e6 100644
--- a/backend/src/backend/gen/gen_mesa_disasm.c
+++ b/backend/src/backend/gen/gen_mesa_disasm.c
@@ -1187,14 +1187,6 @@ int gen_disasm (FILE *file, const void *inst, uint32_t deviceID, uint32_t compac
                      MATH_FUNCTION(inst), &space);
     }
 
-    err |= control(file, "math saturate", math_saturate,
-                   MATH_SATURATE(inst), &space);
-    err |= control(file, "math signed", math_signed,
-                   MATH_SIGNED(inst), &space);
-    err |= control(file, "math scalar", math_scalar,
-                   MATH_SCALAR(inst), &space);
-    err |= control(file, "math precision", math_precision,
-                   MATH_PRECISION(inst), &space);
   } else if (OPCODE(inst) != GEN_OPCODE_SEND &&
              OPCODE(inst) != GEN_OPCODE_SENDC) {
     err |= control(file, "conditional modifier", conditional_modifier,
-- 
1.8.3.2



More information about the Beignet mailing list