Commit 10f30fa8 by David Edelsohn Committed by David Edelsohn

rs6000.c (rs6000_va_arg): Only align vector arguments if TARGET_ALTIVEC.

	* config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
	arguments if TARGET_ALTIVEC.

From-SVN: r72555
parent eaed902b
2003-10-15 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
arguments if TARGET_ALTIVEC.
2003-10-15 Roger Sayle <roger@eyesopen.com>
* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
......
......@@ -4371,7 +4371,7 @@ rs6000_va_arg (tree valist, tree type)
else
{
/* Altivec arguments must be aligned to a 128-bit boundary. */
if (ALTIVEC_VECTOR_MODE (TYPE_MODE (type)))
if (TARGET_ALTIVEC && ALTIVEC_VECTOR_MODE (TYPE_MODE (type)))
{
tree vtype = TREE_TYPE (valist);
tree new_valist, modify;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment