[Beignet] [PATCH 3/6] Backend: Add missing math function control code for gen8+
Xiuli Pan
xiuli.pan at intel.com
Wed Jun 15 22:11:20 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
backend/src/backend/gen/gen_mesa_disasm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/backend/src/backend/gen/gen_mesa_disasm.c b/backend/src/backend/gen/gen_mesa_disasm.c
index 9955dfc..5653275 100644
--- a/backend/src/backend/gen/gen_mesa_disasm.c
+++ b/backend/src/backend/gen/gen_mesa_disasm.c
@@ -405,6 +405,8 @@ static const char *math_function_gen8[16] = {
[GEN_MATH_FUNCTION_FDIV] = "fdiv",
[GEN_MATH_FUNCTION_POW] = "pow",
[GEN_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER] = "intdivmod",
+ [GEN_MATH_FUNCTION_INT_DIV_QUOTIENT] = "intdiv",
+ [GEN_MATH_FUNCTION_INT_DIV_REMAINDER] = "intmod",
[GEN8_MATH_FUNCTION_INVM] = "invm",
[GEN8_MATH_FUNCTION_RSQRTM] = "rsqrtm",
};
--
2.7.4
More information about the Beignet
mailing list