Mesa (master): i965/disasm: Disassemble Z/NZ conditional modifiers as .z/ .nz.

Matt Turner mattst88 at kemper.freedesktop.org
Fri Aug 29 02:07:26 UTC 2014


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun Aug 24 14:49:51 2014 -0700

i965/disasm: Disassemble Z/NZ conditional modifiers as .z/.nz.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_disasm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 424b214..65c6f23 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -137,8 +137,8 @@ is_logic_instruction(unsigned opcode)
 
 const char *const conditional_modifier[16] = {
    [BRW_CONDITIONAL_NONE] = "",
-   [BRW_CONDITIONAL_Z]    = ".e",
-   [BRW_CONDITIONAL_NZ]   = ".ne",
+   [BRW_CONDITIONAL_Z]    = ".z",
+   [BRW_CONDITIONAL_NZ]   = ".nz",
    [BRW_CONDITIONAL_G]    = ".g",
    [BRW_CONDITIONAL_GE]   = ".ge",
    [BRW_CONDITIONAL_L]    = ".l",




More information about the mesa-commit mailing list