Mesa (master): i965/disasm: Fix disassembly of the any16h/ all16h predicates.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Jul 8 19:29:42 UTC 2014


Module: Mesa
Branch: master
Commit: 503391b46f753e1f8c0bc771776a51719d0507e4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=503391b46f753e1f8c0bc771776a51719d0507e4

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Sat Jul  5 22:21:40 2014 -0700

i965/disasm: Fix disassembly of the any16h/all16h predicates.

BRW_PREDICATE_ALIGN1_ANY16H was incorrectly being disassembled as
"all16h", and ALL16H would probably print as "(null)".

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 00c0fc4..b28cba8 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -252,7 +252,7 @@ static const char *const pred_ctrl_align1[16] = {
    [BRW_PREDICATE_ALIGN1_ANY8H]  = ".any8h",
    [BRW_PREDICATE_ALIGN1_ALL8H]  = ".all8h",
    [BRW_PREDICATE_ALIGN1_ANY16H] = ".any16h",
-   [BRW_PREDICATE_ALIGN1_ANY16H] = ".all16h",
+   [BRW_PREDICATE_ALIGN1_ALL16H] = ".all16h",
    [BRW_PREDICATE_ALIGN1_ANY32H] = ".any32h",
    [BRW_PREDICATE_ALIGN1_ANY32H] = ".all32h",
 };




More information about the mesa-commit mailing list