public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: [PATCH] Enabling ADCX, ADOX, RDSEED and PREFETCHW in asm and objdump
@ 2012-08-10 11:07 Ekanathan, Saravanan
  2012-08-10 17:22 ` H.J. Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Ekanathan, Saravanan @ 2012-08-10 11:07 UTC (permalink / raw)
  To: binutils

Hi,
  Below has removed pswapd instruction from some of i386 tests especially arch-10.d and x86-64-arch-2.d.
This was existing to test one of 3DNOWA instruction (pswapd) with "-march=3dnowa".
One can also see '3dnowa' being passed explicitly in -march option in these dump files to test this combination. 
Could you please include them back?

Regards,
Saravanan

On Mon, Jul 16, 2012 at 4:10 AM, Michael Zolotukhin
<michael.v.zolotukhin@gmail.com> 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  <michael.v.zolotukhin@intel.com>
>
>         * 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  <michael.v.zolotukhin@intel.com>
>
>         * 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  <michael.v.zolotukhin@intel.com>
>
>         * 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.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH] Enabling ADCX, ADOX, RDSEED and PREFETCHW in asm and objdump
@ 2012-07-16 11:10 Michael Zolotukhin
  2012-07-16 12:59 ` H.J. Lu
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Zolotukhin @ 2012-07-16 11:10 UTC (permalink / raw)
  To: binutils; +Cc: Kirill Yukhin, H.J. Lu

[-- Attachment #1: Type: text/plain, Size: 2462 bytes --]

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  <michael.v.zolotukhin@intel.com>

        * 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  <michael.v.zolotukhin@intel.com>

        * 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  <michael.v.zolotukhin@intel.com>

        * 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.


--
---
Best regards,
Michael V. Zolotukhin,
Software Engineer
Intel Corporation.

[-- Attachment #2: Adx_Rdseed_Prefetchw.patch.tgz --]
[-- Type: application/x-gzip, Size: 59316 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-17 13:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-10 11:07 [PATCH] Enabling ADCX, ADOX, RDSEED and PREFETCHW in asm and objdump Ekanathan, Saravanan
2012-08-10 17:22 ` H.J. Lu
2012-08-17 13:05   ` Ekanathan, Saravanan
2012-08-17 13:33     ` H.J. Lu
  -- strict thread matches above, loose matches on Subject: below --
2012-07-16 11:10 Michael Zolotukhin
2012-07-16 12:59 ` H.J. Lu
2012-07-16 13:00   ` Michael Zolotukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).