[Mesa-dev] [PATCH 11/23] i965/disasm: Decode Broadwell's invm/rsqrtm math functions.
Kristian Høgsberg
hoegsberg at gmail.com
Mon Jun 30 10:17:27 PDT 2014
On Sat, Jun 28, 2014 at 09:33:50PM -0700, Kenneth Graunke wrote:
> We don't use these yet, but we may as well disassemble them.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Kristian Høgsberg <krh at bitplanet.net>
> ---
> src/mesa/drivers/dri/i965/brw_disasm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
> index b651120..14cb687 100644
> --- a/src/mesa/drivers/dri/i965/brw_disasm.c
> +++ b/src/mesa/drivers/dri/i965/brw_disasm.c
> @@ -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] = {
> --
> 2.0.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list