aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 4048db0..71480f8 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -9932,7 +9932,7 @@ sparc_handle_vis_mul8x16 (tree *n_elts, int fncode, tree inner_type,
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)
{