[PATCH] add amdfam15 flag

Quentin Neill quentin.neill.gnu@gmail.com
Wed Jan 6 16:49:00 GMT 2010


Hi,

Resubmitting this patch which adds support for -mtune=amdfam15, this
time with test cases.

Tested with "make -k check".

Okay to commit?

gas/
	* config/tc-i386.c (cpu_arch): Add amdfam15.
	  (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
	* config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
	* doc/c-i386.texi: Add amdfam15.

opcodes/
	* i386-gen.c (cpu_flag_init): Add new CPU_AMDFAM15_FLAGS.
	* i386-init.h: Regenerated.

testsuite/
	* gas/i386/i386.exp: Add new amdfam15 test cases.
	* gas/i386/amdfam15.d: New.
	* gas/i386/amdfam15.s: New.
	* gas/i386/nops-1-amdfam15.d: New.
	* gas/i386/x86-64-amdfam15.d: New.
	* gas/i386/x86-64-amdfam15.s: New.
	* gas/i386/x86-64-nops-1-amdfam15.d: New.

--
Quentin

On Mon, Nov 30, 2009 at 9:26 PM, Quentin Neill
<quentin.neill.gnu@gmail.com> wrote:
> Hi,
>
> This patch adds support for -mtune=amdfam15 to gas.
>
> Tested with "make -k check".
>
> Okay to commit?
>
>         * gas/config/tc-i386.c (cpu_arch): Add amdfam15.
>           (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
>         * gas/config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
>         * gas/doc/c-i386.texi: Add amdfam15.
>         * opcodes/i386-gen.c (cpu_flag_init): Add new CPU_AMDFAM15_FLAGS.
>         * opcodes/i386-init.h: Regenerated.
>
> --
> Quentin Neill
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7004_amdfam15_gas.diff
Type: application/octet-stream
Size: 3447 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100106/cd5a7bd2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7004_amdfam15_opcodes.diff
Type: application/octet-stream
Size: 1827 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100106/cd5a7bd2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7004_amdfam15_testsuite.diff
Type: application/octet-stream
Size: 133579 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100106/cd5a7bd2/attachment-0002.obj>


More information about the Binutils mailing list