Patchwork [SPARC] Fix PR target/52656

login
register
mail settings
Submitter Eric Botcazou
Date March 24, 2012, 6:41 p.m.
Message ID <201203241941.23009.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/148531/
State New
Headers show

Comments

Eric Botcazou - March 24, 2012, 6:41 p.m.
An obvious pasto.  Applied on the mainline.


2012-03-24  Eric Botcazou  <ebotcazou@adacore.com>

	PR target/52656
	* config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto.

Patch

Index: config/sparc/sparc.c
===================================================================
--- config/sparc/sparc.c	(revision 185570)
+++ config/sparc/sparc.c	(working copy)
@@ -9932,7 +9932,7 @@  sparc_handle_vis_mul8x16 (tree *n_elts,
       break;
 
     case CODE_FOR_fmul8x16al_vis:
-      scale = TREE_INT_CST_LOW (VECTOR_CST_ELT (cst1, 0));
+      scale = TREE_INT_CST_LOW (VECTOR_CST_ELT (cst1, 1));
 
       for (i = 0; i < num; ++i)
 	{