[committed, PATCH] X86: Allow additional ISAs for IAMCU in assembler

H.J. Lu hjl.tools@gmail.com
Thu Sep 8 14:57:00 GMT 2016


On Wed, Sep 7, 2016 at 9:26 AM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Originally only Pentium integer instructions are allowed for IAMCU.
> This patch removes such a restriction.  For example, 387 and SSE2
> instructions can be enabled by passing "-march=iamcu+sse2+387" to
> assembler.
>
> H.J.
> ---
> gas/
>
>         * config/tc-i386.c (valid_iamcu_cpu_flags): Removed.
>         (set_cpu_arch): Updated.
>         (md_parse_option): Likewise.
>         * testsuite/gas/i386/i386.exp: Run iamcu-4 and iamcu-5.  Remove
>         iamcu-inval-2 and iamcu-inval-3.
>         * testsuite/gas/i386/iamcu-4.d: New file.
>         * testsuite/gas/i386/iamcu-4.s: Likewise.
>         * testsuite/gas/i386/iamcu-5.d: Likewise.
>         * testsuite/gas/i386/iamcu-5.s: Likewise.
>         * testsuite/gas/i386/iamcu-inval-2.l: Removed.
>         * testsuite/gas/i386/iamcu-inval-2.s: Likewise.
>         * testsuite/gas/i386/iamcu-inval-3.l: Likewise.
>         * testsuite/gas/i386/iamcu-inval-3.s: Likewise.
>
> opcodes/
>
>         * i386-gen.c (cpu_flag_init): Remove CPU_IAMCU_COMPAT_FLAGS.
>         * i386-init.h: Regenerated.

PROCESSOR_IAMCU should be allowed for Intel MCU.  Checked it
into master.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-PROCESSOR_IAMCU-for-Intel-MCU.patch
Type: text/x-patch
Size: 1172 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160908/ef30eb71/attachment.bin>


More information about the Binutils mailing list