From: Ben Widawsky Subject: [PATCH 0/2] intel-gen4asm: modernization Date: Fri, 6 May 2011 11:34:25 -0700 Message-ID: <1304706867-29308-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cloud01.chad-versace.us (184-106-247-128.static.cloud-ips.com [184.106.247.128]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EEEA9E752 for ; Fri, 6 May 2011 11:34:35 -0700 (PDT) Received: from localhost.localdomain (unknown [134.134.139.76]) by cloud01.chad-versace.us (Postfix) with ESMTPSA id 99ADB1D406E for ; Fri, 6 May 2011 18:35:52 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org I attempted to merge the assembler into the modern age. Ideally we should be able to push the changes back into mesa since it appears Haihao added some relevant structs. I've only done very limited testing on this for my usecase. Wondering if this seems acceptable to push? What is the best way to actually test this? Most of the changes are copy-paste, but only moderate amount of merging occurred in brw_structs.h, and brw_defines.h Ben --- src/Makefile.am | 2 +- src/brw_defines.h | 539 ++++++++++++++++++++++---- src/brw_disasm.c | 1089 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/brw_structs.h | 842 +++++++++++++++++++++++++++++------------ src/disasm-main.c | 32 ++- src/disasm.c | 901 -------------------------------------------- src/gen4asm.h | 2 +- src/gram.y | 24 +- 8 files changed, 2185 insertions(+), 1246 deletions(-)