This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/63177] Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures


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

Carl Love <carll at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |carll at gcc dot gnu.org

--- Comment #7 from Carl Love <carll at gcc dot gnu.org> ---
So the bug only occurs if GCC is configured wfor power8 or you also use the
option -mcpu=power8 when compiling the test.  If you configure with or use
-mcpu-power9 then the proper code generation is done.  

Pat Haugen looked at this issue.  It appears that GCC is calling the assembler
with -mpower9 causing the P9 "stxvx" instruction to be generated to store the
data in the correct order.  In the case of power8 the compiler passes -mpower8
to the assembler which uses the "stxvx" extended mnemonic which maps to stxvd2x
which doesn't store the data in the correct order.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]