This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] re-enable -mabi=no-altivec on powerpc64-linux
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Janis Johnson <janis187 at us dot ibm dot com>, amodra at bigpond dot net dot au
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 04 Feb 2008 21:41:56 -0500
- Subject: Re: [PATCH] re-enable -mabi=no-altivec on powerpc64-linux
* config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
(rs6000_override_options): Default to AltiVec ABI only if no
abi option was specified.
(rs6000_handle_option): Record that explicit ABI option was seen.
* gcc.target/powerpc/ppc32-elf-altivec-abi-1.c: New test.
* gcc.target/powerpc/ppc32-elf-altivec-abi-2.c: New test.
* gcc.target/powerpc/ppc32-elf-altivec-abi-3.c: New test.
* gcc.target/powerpc/ppc64-elf-altivec-abi-1.c: New test.
* gcc.target/powerpc/ppc64-elf-altivec-abi-2.c: New test.
* gcc.target/powerpc/ppc64-elf-altivec-abi-3.c: New test.
The patch is fine with me, if Alan does not have any objection.
David