From 3118d595a64f3673786c8c06642f92d95bf6b27c Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 6 Nov 2013 03:32:01 +0000 Subject: rs6000.c (rs6000_option_override_internal): Remove restriction against use of VSX instructions when... 2013-11-05 Bill Schmidt * 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 | 6 ++++++ gcc/config/rs6000/rs6000.c | 5 ----- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'gcc') 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 + * 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 + * 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 -- cgit v1.1