invoke.texi: Add documentation for -mabi=no-altivec.

2002-03-07  Aldy Hernandez  <aldyh@redhat.com>

        * 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.

From-SVN: r50392
This commit is contained in:
Aldy Hernandez 2002-03-07 06:50:32 +00:00 committed by Aldy Hernandez
parent a72f7227af
commit 76a773f3b9
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2002-03-07 Aldy Hernandez <aldyh@redhat.com>
* 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 <rth@redhat.com>
* genemit.c (gen_exp): New argument used. Invoke copy_rtx

View File

@ -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);
}

View File

@ -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