+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
"%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
\f
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);
}
-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}
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