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 tree-optimization/68892] [6 Regression] Excessive dead loads produced by BB vectorization


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

Bill Seurer <seurer at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seurer at linux dot vnet.ibm.com

--- Comment #4 from Bill Seurer <seurer at linux dot vnet.ibm.com> ---
That fix broke the test case pr60203.c.

PASS: gcc.target/powerpc/pr60203.c (test for excess errors)
PASS: gcc.target/powerpc/pr60203.c scan-assembler-not stfd
FAIL: gcc.target/powerpc/pr60203.c scan-assembler-not lfd
PASS: gcc.target/powerpc/pr60203.c scan-assembler-not lxsdx
PASS: gcc.target/powerpc/pr60203.c scan-assembler-not stxsdx
PASS: gcc.target/powerpc/pr60203.c scan-assembler-not mfvsrd
PASS: gcc.target/powerpc/pr60203.c scan-assembler-not mtvsrd

There are two lfds and lots of other ops in the generated code with the fix

pack:
        xxpermdi 0,2,1,0
        addi 9,1,-16
        xxpermdi 0,0,0,2
        stxvd2x 0,0,9
        lfd 1,-16(1)
        lfd 2,-8(1)
        blr

and none without

pack:
        blr

Compiled with  -mcpu=power8 -O3.

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