i965/disasm: Decode Broadwell's invm/rsqrtm math functions.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 29 Jun 2014 01:33:45 +0000 (18:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jun 2014 21:05:28 +0000 (14:05 -0700)
We don't use these yet, but we may as well disassemble them.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_disasm.c

index b651120ee7d6bc7ef9c83e7e00684e34bfdaa4e5..14cb687173b2082b37ffcaf57d333c81dea14045 100644 (file)
@@ -454,6 +454,8 @@ static const char *const math_function[16] = {
    [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT_AND_REMAINDER] = "intdivmod",
    [BRW_MATH_FUNCTION_INT_DIV_QUOTIENT]  = "intdiv",
    [BRW_MATH_FUNCTION_INT_DIV_REMAINDER] = "intmod",
+   [GEN8_MATH_FUNCTION_INVM]  = "invm",
+   [GEN8_MATH_FUNCTION_RSQRTM] = "rsqrtm",
 };
 
 static const char *const math_saturate[2] = {