From: aldyh Date: Thu, 7 Mar 2002 06:50:32 +0000 (+0000) Subject: 2002-03-07 Aldy Hernandez X-Git-Tag: upstream/4.9.2~88260 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04b78509885f525caeac8abccd8fffb93f4862ed;p=platform%2Fupstream%2Flinaro-gcc.git 2002-03-07 Aldy Hernandez * doc/invoke.texi: Add documentation for -mabi=no-altivec. * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add -mabi=no-altivec (alt_reg_names): Remove % for vrsave. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50392 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b829d40..555d2ff 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2002-03-07 Aldy Hernandez + + * doc/invoke.texi: Add documentation for -mabi=no-altivec. + + * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add + -mabi=no-altivec + (alt_reg_names): Remove % for vrsave. + 2002-03-06 Richard Henderson * genemit.c (gen_exp): New argument used. Invoke copy_rtx diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index b180577..89caf5c 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -217,7 +217,7 @@ static const char alt_reg_names[][8] = "%v8", "%v9", "%v10", "%v11", "%v12", "%v13", "%v14", "%v15", "%v16", "%v17", "%v18", "%v19", "%v20", "%v21", "%v22", "%v23", "%v24", "%v25", "%v26", "%v27", "%v28", "%v29", "%v30", "%v31", - "%vrsave" + "vrsave" }; #endif @@ -589,6 +589,8 @@ rs6000_parse_abi_options () return; else if (! strcmp (rs6000_abi_string, "altivec")) rs6000_altivec_abi = 1; + else if (! strcmp (rs6000_abi_string, "no-altivec")) + rs6000_altivec_abi = 0; else error ("unknown ABI specified: '%s'", rs6000_abi_string); } diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index add83e6..393a20e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -446,7 +446,7 @@ in the following sections. -mtoc -mno-toc -mlittle -mlittle-endian -mbig -mbig-endian @gol -mcall-aix -mcall-sysv -mcall-netbsd @gol -maix-struct-return -msvr4-struct-return --mabi=altivec @gol +-mabi=altivec -mabi=no-altivec @gol -mprototype -mno-prototype @gol -msim -mmvme -mads -myellowknife -memb -msdata @gol -msdata=@var{opt} -mvxworks -G @var{num} -pthread} @@ -6966,6 +6966,10 @@ Extend the current ABI with AltiVec ABI extensions. This does not change the default ABI, instead it adds the AltiVec ABI extensions to the current ABI@. +@item -mabi=no-altivec +@opindex mabi=no-altivec +Disable AltiVec ABI extensions for the current ABI. + @item -mprototype @itemx -mno-prototype @opindex mprototype