https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97075
Bug ID: 97075 Summary: [11 regression] powerpc64 vector tests fails after r11-3230 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:052204fac580b21c967e57e6285d99a9828b8fac, r11-3230 FAIL: gcc.target/powerpc/p9-vec-length-epil-7.c scan-assembler-times \\mstxvl\\M 10 FAIL: gcc.target/powerpc/p9-vec-length-full-6.c scan-assembler-not \\mlxvx\\M FAIL: gcc.target/powerpc/p9-vec-length-full-6.c scan-assembler-not \\mstxvx\\M FAIL: gcc.target/powerpc/p9-vec-length-full-6.c scan-assembler-times \\mlxvl\\M 16 FAIL: gcc.target/powerpc/p9-vec-length-full-6.c scan-assembler-times \\mstxvl\\M 16 For the second test case here is a diff of the assembler: seurer@makalu-lp1:~/gcc/git/build/gcc-test$ diff p9-vec-length-epil-7.s.r11-3229 p9-vec-length-epil-7.s.r11-3230 322,323c322,323 < li 6,28 < addis 7,2,.LC8@toc@ha --- > li 7,28 > addis 8,2,.LC8@toc@ha 325d324 < addis 10,2,.LANCHOR0@toc@ha 327,330c326,328 < li 8,0 < mtctr 6 < addi 7,7,.LC8@toc@l < addi 10,10,.LANCHOR0@toc@l --- > li 10,0 > mtctr 7 > addi 8,8,.LC8@toc@l 333,335c331,333 < lxv 32,0(7) < addis 7,2,.LANCHOR0+904@toc@ha < std 8,.LANCHOR0+904@toc@l(7) --- > lxv 32,0(8) > addis 8,2,.LANCHOR0+904@toc@ha > std 10,.LANCHOR0+904@toc@l(8) 343,349c341,343 < addis 7,2,.LC9@toc@ha < li 8,8 < addi 9,10,1360 < addi 7,7,.LC9@toc@l < sldi 10,8,56 < lxv 0,0(7) < stxvl 0,9,10 --- > li 9,57 > addis 10,2,.LANCHOR0+1360@toc@ha > std 9,.LANCHOR0+1360@toc@l(10) 368,369c362,363 < li 6,28 < addis 7,2,.LC8@toc@ha --- > li 7,28 > addis 8,2,.LC8@toc@ha 371d364 < addis 10,2,.LANCHOR0@toc@ha 373,376c366,368 < li 8,0 < mtctr 6 < addi 7,7,.LC8@toc@l < addi 10,10,.LANCHOR0@toc@l --- > li 10,0 > mtctr 7 > addi 8,8,.LC8@toc@l 379,381c371,373 < lxv 32,0(7) < addis 7,2,.LANCHOR0+1416@toc@ha < std 8,.LANCHOR0+1416@toc@l(7) --- > lxv 32,0(8) > addis 8,2,.LANCHOR0+1416@toc@ha > std 10,.LANCHOR0+1416@toc@l(8) 389,395c381,383 < addis 7,2,.LC9@toc@ha < li 8,8 < addi 9,10,1872 < addi 7,7,.LC9@toc@l < sldi 10,8,56 < lxv 0,0(7) < stxvl 0,9,10 --- > li 9,57 > addis 10,2,.LANCHOR0+1872@toc@ha > std 9,.LANCHOR0+1872@toc@l(10) 414,415c402,403 < addis 6,2,.LC10@toc@ha < addis 7,2,.LC11@toc@ha --- > addis 6,2,.LC9@toc@ha > addis 7,2,.LC10@toc@ha 421,422c409,410 < addi 6,6,.LC10@toc@l < addi 7,7,.LC11@toc@l --- > addi 6,6,.LC9@toc@l > addi 7,7,.LC10@toc@l 441c429 < addis 7,2,.LC12@toc@ha --- > addis 7,2,.LC11@toc@ha 444c432 < addi 7,7,.LC12@toc@l --- > addi 7,7,.LC11@toc@l 466,469c454,456 < addis 7,2,.LC13@toc@ha < li 6,28 < addis 8,2,.LC14@toc@ha < addis 10,2,.LANCHOR0@toc@ha --- > addis 8,2,.LC12@toc@ha > li 7,28 > addis 10,2,.LC13@toc@ha 472,475c459,461 < addi 7,7,.LC13@toc@l < mtctr 6 < addi 8,8,.LC14@toc@l < addi 10,10,.LANCHOR0@toc@l --- > addi 8,8,.LC12@toc@l > mtctr 7 > addi 10,10,.LC13@toc@l 477,480c463,466 < lxv 0,0(7) < lxv 11,0(8) < addis 8,2,.LANCHOR0+2184@toc@ha < stfd 12,.LANCHOR0+2184@toc@l(8) --- > lxv 0,0(8) > lxv 11,0(10) > addis 10,2,.LANCHOR0+2184@toc@ha > stfd 12,.LANCHOR0+2184@toc@l(10) 488,494c474,477 < addis 7,2,.LC15@toc@ha < li 8,8 < addi 9,10,2640 < addi 7,7,.LC15@toc@l < sldi 10,8,56 < lxv 0,0(7) < stxvl 0,9,10 --- > addis 9,2,.LC14@toc@ha > lfd 0,.LC14@toc@l(9) > addis 9,2,.LANCHOR0+2640@toc@ha > stfd 0,.LANCHOR0+2640@toc@l(9)