https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88316

            Bug ID: 88316
           Summary: numerous big-endian issues with compatibility
                    implementations of vector intrinsics for powerpc
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pc at gcc dot gnu.org
  Target Milestone: ---

Many of the test cases for the compatibility implementations of x86 vector
intrinsics for powerpc were structured like:
--
 int
 main ()
 {
 #ifdef __BUILTIN_CPU_SUPPORTS__
   /* testing code */
 #endif /* __BUILTIN_CPU_SUPPORTS__ */
   return 0;
 }
--
...which had the unfortunate side-effect of allowing all such tests to silently
pass without actually testing anything.  Removing the protective #ifdef permits
the tests to run, which has the unfortunate side-effect of exposing a raft of
big-endian (and 32bit mode) bugs.

I will tackle these en-masse.

Reply via email to