re PR target/34526 (no-altivec ABI should be fixed or no longer be the default)
authorJanis Johnson <janis187@us.ibm.com>
Fri, 22 Feb 2008 01:55:40 +0000 (01:55 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Fri, 22 Feb 2008 01:55:40 +0000 (01:55 +0000)
commita2db2771a0cd17872b78a4cebb40dad70b9e4539
tree1356ee5a501a419436b74e16bdfa0fbb8402eb55
parentb3184fd133ddc63e481037c1412fa0410a66643d
re PR target/34526 (no-altivec ABI should be fixed or no longer be the default)

PR target/34526
* config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment.
(rs6000_explicit_options): Split abi into spe_abi and altivec_abi,
add vrsave.
(rs6000_override_options): Set altivec_abi as default, not override,
for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for
TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI
is used; use new member spe_abi.
(rs6000_handle_option): Set rs6000_explicit_options.vrsave; use
spe_abi and altivec_abi.

From-SVN: r132537
gcc/ChangeLog
gcc/config/rs6000/rs6000.c