[PATCH] Add CX16 flag to asm

Michael Zolotukhin michael.v.zolotukhin@gmail.com
Wed Sep 19 19:24:00 GMT 2012


Hi,
This patch adds CX16 flag to asm to distinguish architectures,
supporting CMPXCHG16B instrcutions.
Is it ok for trunk?

Changelog entries:

gas/Changelog:
2012-09-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

        * config/tc-i386.c: Add CX16 flag.
        * doc/c-i386.texi: Document the new flag.

opcodes/Changelog:
2012-09-19  Michael Zolotukhin  <michael.v.zolotukhin@intel.com>

        * i386-gen.c (cpu_flag_init): Add CpuCX16 and add the flag to
        CPU_NOCONA_FLAGS, CPU_CORE_FLAGS, CPU_CORE2_FLAGS, CPU_COREI7_FLAGS,
        CPU_BDVER1_FLAGS, CPU_BDVER2_FLAGS, CPU_BTVER1_FLAGS,
        CPU_BTVER2_FLAGS.
        (cpu_flags): Add CpuCX16.
        * i386-opc.h: Add CpuCX16.
        * i386-opc.tbl: Use new flag in CMPXCHG16B.
        * i386-tbl.h: Regenerate.
        * i386-init.h: Likewise.


-- 
---
Best regards,
Michael V. Zolotukhin,
Software Engineer
Intel Corporation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cx16.patch.tar.gz
Type: application/x-gzip
Size: 38621 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20120919/eb44bce8/attachment.bin>


More information about the Binutils mailing list