rs6000.c (rs6000_option_override_internal): Remove restriction against use of VSX...
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 6 Nov 2013 03:32:01 +0000 (03:32 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 6 Nov 2013 03:32:01 +0000 (03:32 +0000)
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

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index f0da9fc74dcbfd9c92b7b3d70fbe69621611e10b..24d05a45514eba7a8789e56cc7a47c8f3a5d8b1f 100644 (file)
@@ -1,3 +1,9 @@
+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
index fcf93671371dfa1a00815d894156c01eb413c301..a6b66816aee22b04c7eaa1687e021ef434f204b6 100644 (file)
@@ -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