aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2013-11-06 03:32:01 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2013-11-06 03:32:01 +0000
commit3118d595a64f3673786c8c06642f92d95bf6b27c (patch)
treeb37446f6b1ab8d9c27679a538f5236fb809914b7 /gcc
parent2b9d047631ee625de6953470af92e37450b2cd66 (diff)
downloadgcc-3118d595a64f3673786c8c06642f92d95bf6b27c.zip
gcc-3118d595a64f3673786c8c06642f92d95bf6b27c.tar.gz
gcc-3118d595a64f3673786c8c06642f92d95bf6b27c.tar.bz2
rs6000.c (rs6000_option_override_internal): Remove restriction against use of VSX instructions when...
2013-11-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/rs6000.c (rs6000_option_override_internal): Remove restriction against use of VSX instructions when generating code for little endian mode. From-SVN: r204441
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f0da9fc..24d05a4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2013-11-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+ * config/rs6000/rs6000.c (rs6000_option_override_internal):
+ Remove restriction against use of VSX instructions when generating
+ code for little endian mode.
+
+2013-11-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
+
* config/rs6000/altivec.md (mulv4si3): Ensure we generate vmulouh
for both big and little endian.
(mulv8hi3): Swap input operands for merge high and merge low
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index fcf9367..a6b6681 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -3221,11 +3221,6 @@ rs6000_option_override_internal (bool global_init_p)
}
else if (TARGET_PAIRED_FLOAT)
msg = N_("-mvsx and -mpaired are incompatible");
- /* The hardware will allow VSX and little endian, but until we make sure
- things like vector select, etc. work don't allow VSX on little endian
- systems at this point. */
- else if (!BYTES_BIG_ENDIAN)
- msg = N_("-mvsx used with little endian code");
else if (TARGET_AVOID_XFORM > 0)
msg = N_("-mvsx needs indexed addressing");
else if (!TARGET_ALTIVEC && (rs6000_isa_flags_explicit