aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2012-03-24 18:42:24 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2012-03-24 18:42:24 +0000
commitf26c81d6ba445ff6e67ced4c04ef4615cedb145f (patch)
tree473b80a3354a11d3b650388f7dc01349ffa0eeba
parenta0d058a508bd6762db3aed823357898907e88857 (diff)
downloadgcc-f26c81d6ba445ff6e67ced4c04ef4615cedb145f.zip
gcc-f26c81d6ba445ff6e67ced4c04ef4615cedb145f.tar.gz
gcc-f26c81d6ba445ff6e67ced4c04ef4615cedb145f.tar.bz2
re PR middle-end/52656 (gcc.target/sparc/fpmul-2.c FAILs)
PR target/52656 * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto. From-SVN: r185764
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sparc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cb700d3..afde273 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-24 Eric Botcazou <ebotcazou@adacore.com>
+
+ PR target/52656
+ * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto.
+
2012-03-23 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (build_accesses_from_assign): Remove FIXME comment.
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)
{