[Bug target/99718] [11 regression] ICE in new test case gcc.target/powerpc/pr98914.c for 32 bits

luoxhu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 27 03:42:37 GMT 2021


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

--- Comment #19 from luoxhu at gcc dot gnu.org ---
https://gcc.gnu.org/pipermail/gcc-patches/2021-March/567395.html

This patch extends variable vec_insert to all 32bit VSX targets including
Power7{BE} {32,64}, Power8{BE}{32, 64}, Power8{LE}{64}, Power9{LE}{64}, all
tested  pass for power testcases, though AIX is not tested yet. @Segher, please
review this one instead of the previous that disables 32 bit variable
vec_insert, thanks.

For Altivec targets like power5/6/G4/G5, take the previous "vector store/scalar
store/vector load" code path.

-mcpu=power6 -O2 -maltivec -c -S

f2:
.LFB0:
        .cfi_startproc
        addi 10,1,-16
        sldi 5,5,2
        li 9,32
        addi 8,1,-48
        stvx 2,8,9
        stwx 6,10,5
        lvx 2,8,9
        blr


More information about the Gcc-bugs mailing list