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

            Bug ID: 89319
           Summary: PowerPC generates poor code when using
                    attribute((vector_size(32))
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: g...@the-meissners.org
  Target Milestone: ---

Created attachment 45677
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45677&action=edit
Source code to show the problem

I tried out some code using the vector_size(32) attribute on PowerPC, and it
generates poor code.  I expected that it would just generate two loads, two
adds, and two stores, but instead it pushed things to the stack.

See the attached code and asm file.

Reply via email to