From f45ac8b2cca414224427069ae7edc28d5e8e4278 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 1 Sep 2006 12:29:23 -0700 Subject: [PATCH] Fix the exitcode type for ENDIF to be D instead of UD. Fixes the endif test. --- assembler/src/gram.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assembler/src/gram.y b/assembler/src/gram.y index 232f7a0d..05a85a8a 100644 --- a/assembler/src/gram.y +++ b/assembler/src/gram.y @@ -417,7 +417,7 @@ specialinstruction: NOP bzero(&$$, sizeof($$)); $$.header.opcode = $1; $$.bits1.da1.src1_reg_file = BRW_IMMEDIATE_VALUE; - $$.bits1.da1.src1_reg_type = BRW_REGISTER_TYPE_UD; + $$.bits1.da1.src1_reg_type = BRW_REGISTER_TYPE_D; $$.bits3.if_else.pop_count = 1; } ;