From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20103 invoked by alias); 1 Sep 2009 23:58:13 -0000 Received: (qmail 20094 invoked by uid 22791); 1 Sep 2009 23:58:13 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,NO_DNS_FOR_FROM X-Spam-Check-By: sourceware.org Received: from mga12.intel.com (HELO azsmga102.ch.intel.com) (143.182.124.36) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 23:58:08 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 01 Sep 2009 16:58:05 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.198]) by azsmga001.ch.intel.com with ESMTP; 01 Sep 2009 16:58:04 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 1D15181210F; Tue, 1 Sep 2009 16:58:04 -0700 (PDT) Date: Tue, 01 Sep 2009 23:58:00 -0000 From: "H.J. Lu" To: binutils@sources.redhat.com Subject: PATCH: Add ymm tests for 16bit and 64bit Message-ID: <20090901235804.GA13704@lucon.org> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00048.txt.bz2 I am checking in this patch to add ymm tests for 16bit and 64bit. H.J. --- Index: ChangeLog =================================================================== --- ChangeLog (revision 6692) +++ ChangeLog (working copy) @@ -1,5 +1,13 @@ 2009-09-01 H.J. Lu + * gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. + * gas/i386/intel-regs.s: Likewise. + + * gas/i386/att-regs.d: Updated. + * gas/i386/intel-regs.d: Likewise. + +2009-09-01 H.J. Lu + * gas/i386/att-regs.s: Remove a tab. 2009-09-01 Jie Zhang Index: gas/i386/att-regs.d =================================================================== --- gas/i386/att-regs.d (revision 6691) +++ gas/i386/att-regs.d (working copy) @@ -19,6 +19,7 @@ Disassembly of section \.text: .*[ ]+R_386_16[ ]+tr0 .*[ ]+R_386_16[ ]+mm0 .*[ ]+R_386_16[ ]+xmm0 +.*[ ]+R_386_16[ ]+ymm0 .*[ ]+R_386_32[ ]+rax .*[ ]+R_386_32[ ]+axl .*[ ]+R_386_32[ ]+r8b @@ -44,4 +45,7 @@ Disassembly of section \.text: .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax .*:[ ]+4c[ ]+dec %esp .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax + +.* : +.*[ ]+ #pass Index: gas/i386/att-regs.s =================================================================== --- gas/i386/att-regs.s (revision 6692) +++ gas/i386/att-regs.s (working copy) @@ -17,6 +17,7 @@ mov tr0, ax ; add al, (bx,si) mov mm0, ax ; add al, (bx,si) mov xmm0, ax ; add al, (bx,si) + mov ymm0, ax ; add al, (bx,si) .arch generic32 .code32 @@ -52,3 +53,5 @@ mov r8w, ax mov r8d, eax mov r8, rax +ymm8: + jmp ymm8 Index: gas/i386/intel-regs.d =================================================================== --- gas/i386/intel-regs.d (revision 6691) +++ gas/i386/intel-regs.d (working copy) @@ -19,6 +19,7 @@ Disassembly of section \.text: .*[ ]+R_386_16[ ]+tr0 .*[ ]+R_386_16[ ]+mm0 .*[ ]+R_386_16[ ]+xmm0 +.*[ ]+R_386_16[ ]+ymm0 .*[ ]+R_386_32[ ]+rax .*[ ]+R_386_32[ ]+axl .*[ ]+R_386_32[ ]+r8b @@ -44,4 +45,7 @@ Disassembly of section \.text: .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax .*:[ ]+4c[ ]+dec %esp .*:[ ]+89 c0[ ]+mov[ ]+%eax,%eax + +.* : +.*[ ]+ #pass Index: gas/i386/intel-regs.s =================================================================== --- gas/i386/intel-regs.s (revision 6691) +++ gas/i386/intel-regs.s (working copy) @@ -17,6 +17,7 @@ mov ax, tr0 ; add [bx+si], al mov ax, mm0 ; add [bx+si], al mov ax, xmm0 ; add [bx+si], al + mov ax, ymm0 ; add [bx+si], al .arch generic32 .code32 @@ -52,3 +53,5 @@ mov ax, r8w mov eax, r8d mov rax, r8 +ymm8: + jmp ymm8