From patchwork Mon Feb 4 15:27:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 2092741 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 555CEDFE82 for ; Mon, 4 Feb 2013 15:38:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 44EB7E6101 for ; Mon, 4 Feb 2013 07:38:18 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 45642E5F02 for ; Mon, 4 Feb 2013 07:29:12 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 04 Feb 2013 07:29:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,600,1355126400"; d="scan'208";a="257441677" Received: from unknown (HELO dyon.amr.corp.intel.com) ([10.255.12.132]) by orsmga001.jf.intel.com with ESMTP; 04 Feb 2013 07:29:11 -0800 From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Mon, 4 Feb 2013 15:27:14 +0000 Message-Id: <1359991705-5254-20-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 1.7.7.5 In-Reply-To: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> References: <1359991705-5254-1-git-send-email-damien.lespiau@intel.com> Subject: [Intel-gfx] [PATCH 19/90] assembler: Rename BRW_ACCWRCTRL_ACCWRCTRL X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org To a more self-describing define. This hopefully will help its inclusion into Mesa. Signed-off-by: Damien Lespiau --- assembler/brw_defines.h | 4 ++-- assembler/gram.y | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h index bd72abb..c4ffe9b 100644 --- a/assembler/brw_defines.h +++ b/assembler/brw_defines.h @@ -552,8 +552,8 @@ #define BRW_MASK_ENABLE 0 #define BRW_MASK_DISABLE 1 -#define BRW_ACCWRCTRL_NONE 0 -#define BRW_ACCWRCTRL_ACCWRCTRL 1 +#define BRW_ACCUMULATOR_WRITE_DISABLE 0 +#define BRW_ACCUMULATOR_WRITE_ENABLE 1 #define BRW_OPCODE_MOV 1 #define BRW_OPCODE_SEL 2 diff --git a/assembler/gram.y b/assembler/gram.y index faba2eb..55708ca 100644 --- a/assembler/gram.y +++ b/assembler/gram.y @@ -2605,7 +2605,7 @@ instoption_list:instoption_list COMMA instoption $$.header.debug_control = BRW_DEBUG_BREAKPOINT; break; case ACCWRCTRL: - $$.header.acc_wr_control = BRW_ACCWRCTRL_ACCWRCTRL; + $$.header.acc_wr_control = BRW_ACCUMULATOR_WRITE_ENABLE; } } | instoption_list instoption