[patch] tuning gcc for AMDFAM10 processor (patch 1)

Eric Botcazou ebotcazou@libertysurf.fr
Tue Jan 30 07:56:00 GMT 2007


> 2007-01-29	Harsha Jagasia	<harsha.jagasia@amd.com>
>
> 	* gcc/gcc/config/i386/i386.opt: Add Advanced Bit Manipulation
> 	(-mabm) instruction set feature flag. Add popcount instruction
>       (-mpopcnt) feature flag. Add SSE4a (-msse4a) instruction set
>       feature flag.
> 	* gcc/gcc/config/i386/i386.h: Add builtin definition for SSE4a
> 	* gcc/gcc/config/i386/i386.md: Add support for ABM instructions
> 	(popcnt and lzcnt)
> 	* gcc/gcc/config/i386/sse.md: Add support for SSE4a instructions
> 	(movntss, movntsd, extrq, insertq)
> 	* gcc/gcc/config/i386/i386.c: Add support for ABM and SSE4a
> builtins.
> 	Add -march=amdfam10 flag.
> 	* gcc/gcc/config/i386/ammintrin.h: Add support for SSE4a
> intrinsics.
> 	* gcc/doc/ extend.texi: Add documentation for SSE4a builtins.
> 	* gcc/doc/ invoke.texi: Add documentation on flags for sse4a,
> abm
> 	and amdfam10

Wrong paths, please look at other ChangeLog entries.

> 2007-01-29	Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
>
>         * gcc/gcc/testsuite/gcc.dg/i386-cpuid.h: Test support for SSE4A
> for
>         running tests
>         * /gcc/gcc/testsuite/gcc.target/i386/sse4a-extract.c: Add test
> for
>         extractq instruction
>         * /gcc/gcc/testsuite/gcc.target/i386/sse4a-insert.c: Add test
> for
>         insertq instruction
>         * /gcc/gcc/testsuite/gcc.target/i386/sse4a-montsd.c: Add test
> for
>         movntsd instruction
>         * /gcc/gcc/testsuite/gcc.target/i386/sse4a-montss.c: Add test
> for
>         movntss instruction

Likewise.  Just put "New test." for a new test.

-- 
Eric Botcazou



More information about the Gcc-patches mailing list