From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2367 invoked by alias); 16 Jul 2012 12:59:40 -0000 Received: (qmail 2358 invoked by uid 22791); 16 Jul 2012 12:59:39 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-vc0-f169.google.com (HELO mail-vc0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jul 2012 12:59:26 +0000 Received: by vcbfl10 with SMTP id fl10so4317685vcb.0 for ; Mon, 16 Jul 2012 05:59:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.69.38 with SMTP id b6mr4517433vdu.22.1342443565744; Mon, 16 Jul 2012 05:59:25 -0700 (PDT) Received: by 10.58.74.198 with HTTP; Mon, 16 Jul 2012 05:59:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Jul 2012 12:59:00 -0000 Message-ID: Subject: Re: [PATCH] Enabling ADCX, ADOX, RDSEED and PREFETCHW in asm and objdump From: "H.J. Lu" To: Michael Zolotukhin Cc: binutils@sourceware.org, Kirill Yukhin Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes 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: 2012-07/txt/msg00124.txt.bz2 On Mon, Jul 16, 2012 at 4:10 AM, Michael Zolotukhin wrote: > Hi, > This patch enables in binutils (namely, in asm and objdump) new ADCX, > ADOX, RDSEED and PREFETCHW instructions, introduced here: > http://software.intel.com/en-us/avx/ > > Is it ok for trunk? > > gas/Changelog entry: > 2012-07-16 Michael Zolotukhin > > * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives. > * doc/c-i386.texi: Document the new directives. > > gas/testsuite/Changelog entry: > 2012-07-16 Michael Zolotukhin > > * gas/i386/i386.exp: Run adx, rdseed and prefetchw tests. > * gas/i386/x86-64-arch-2.s: Use prefetchw as 3dnow and Prfchw tests. > * gas/i386/arch-10.s: Likewise. > * gas/i386/arch-10-1.l: Changed correspondingly. > * gas/i386/arch-10-2.l: Likewise. > * gas/i386/arch-10-3.l: Likewise. > * gas/i386/arch-10-4.l: Likewise. > * gas/i386/arch-10.d: Likewise. > * gas/i386/arch-10-lzcnt.d: Likewise. > * gas/i386/x86-64-arch-2.d: Likewise. > * gas/i386/x86-64-arch-2-lzcnt.d: Likewise. > * gas/i386/ilp32/x86-64-arch-2.d: Likewise. > * gas/i386/arch-10-prefetchw.d: New file. > * gas/i386/x86-64-arch-2-prefetchw.d: Likewise. > * gas/i386/rdseed.s: Likewise. > * gas/i386/rdseed.d: Likewise. > * gas/i386/rdseed-intel.d: Likewise. > * gas/i386/adx.s: Likewise. > * gas/i386/adx.d: Likewise. > * gas/i386/adx-intel.d: Likewise. > * gas/i386/x86-64-rdseed.s: Likewise. > * gas/i386/x86-64-rdseed.d: Likewise. > * gas/i386/x86-64-rdseed-intel.d: Likewise. > * gas/i386/x86-64-adx.s: Likewise. > * gas/i386/x86-64-adx.d: Likewise. > * gas/i386/x86-64-adx-intel.d: Likewise. > > opcodes/ChangeLog entry: > 2012-07-16 Michael Zolotukhin > > * i386-dis.c (PREFIX_0F38F6): New. > (prefix_table): Add adcx, adox instructions. > (three_byte_table): Use PREFIX_0F38F6. > (mod_table): Add rdseed instruction. > * i386-gen.c (cpu_flag_init): Add CpuADX, CpuRDSEED, CpuPRFCHW. > (cpu_flags): Likewise. > * i386-opc.h: Add CpuADX, CpuRDSEED, CpuPRFCHW. > (i386_cpu_flags): Add fields cpurdseed, cpuadx, cpuprfchw. > * i386-opc.tbl: Add instrcutions adcx, adox, rdseed. Extend prefetchw. > * i386-tbl.h: Regenerate. > * i386-init.h: Likewise. > It is OK. I checked it in for you. Thanks. -- H.J.