http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47385

           Summary: Test gcc.target/powerpc/pr37168.c fails if compiled
                    using a compiled configured with --with-cpu=power7
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: meiss...@gcc.gnu.org
        ReportedBy: meiss...@gcc.gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux


The test case pr37168 fails if VSX instructions are enabled.  This is due to
the fact that the vector constant used has 4 single precision floating point
values, and the compiler thinks it can create this via Altivec integer
instructions (the bit value is 26, and the compiler wants to load 13 into each
word and then double it to get 26).  The case fails because in this case, V4SF
uses the VSX vector unit and not the Altivec vector unit.  The fix is to allow
either VSX or Altivec vector units.

Reply via email to