This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/81386] [8 regression] libgomp.fortran/appendix-a/a.16.1.f90 fails starting with 249424
- From: "seurer at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Jul 2017 19:16:13 +0000
- Subject: [Bug libgomp/81386] [8 regression] libgomp.fortran/appendix-a/a.16.1.f90 fails starting with 249424
- Auto-submitted: auto-generated
- References: <bug-81386-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81386
--- Comment #4 from seurer at gcc dot gnu.org ---
Looking at the difference in generated code. The more recent (failing) builds
are generating a whole bunch of vector ops where the old (working) code did
not.
< failing code (r250280)
> last working code (r249423)
171d170
< addis 8,2,.LC1@toc@ha
174,187d172
< addi 8,8,.LC1@toc@l
< addis 10,2,.LC3@toc@ha
< std 22,-80(1)
< std 23,-72(1)
< addi 10,10,.LC3@toc@l
< std 24,-64(1)
< std 25,-56(1)
< addis 9,2,.LC2@toc@ha
< std 26,-48(1)
< std 27,-40(1)
< addi 9,9,.LC2@toc@l
< vspltisw 4,4
< std 28,-32(1)
< std 30,-16(1)
190,191c175,176
< vspltisw 6,6
< vspltisw 7,5
---
> li 9,10000
> mtctr 9
194,196c179,180
< std 0,16(1)
< lis 0,0xfffe
< std 31,-8(1)
---
> std 22,-80(1)
> std 23,-72(1)
199c183
< vspltisw 8,2
---
> lis 7,0x1062
202,203c186,187
< ori 0,0,0xb560
< lxvd2x 45,0,8
---
> std 24,-64(1)
> std 25,-56(1)
206,210c190
< lxvd2x 37,0,10
< li 10,2500
< mtctr 10
< lxvd2x 44,0,9
< vspltisw 9,3
---
> ori 7,7,0x4dd3
212a193,201
> li 10,1
> std 26,-48(1)
> std 27,-40(1)
> std 28,-32(1)
> std 30,-16(1)
> std 0,16(1)
> lis 0,0xfffe
> std 31,-8(1)
> ori 0,0,0xb560
227,232d215
< .LBB28:
< .loc 1 31 0
< vspltisw 10,1
< .LBE28:
< .loc 1 26 0
< xxpermdi 45,45,45,2
234,236c217,219
< addis 9,29,0x1
< addi 9,9,-25536
< .p2align 4,,15
---
> addis 8,29,0x1
> addi 8,8,-25540
> .p2align 5,,31
238c221
< .LBB29:
---
> .LBB28:
240,256c223,230
< vmulosw 11,13,12
< vmulesw 0,13,12
< vsraw 1,13,5
< vmrgew 0,11,0
< vsraw 0,0,6
< vsubuwm 1,0,1
< vslw 0,1,7
< vsubuwm 0,0,1
< vslw 0,0,8
< vadduwm 0,0,1
< vslw 0,0,9
< vsubuwm 0,13,0
< vadduwm 13,13,4
< vadduwm 0,0,10
< xxpermdi 0,32,32,2
< stxvd2x 0,0,9
< addi 9,9,16
---
> mulhwu 9,10,7
> srwi 9,9,6
> mulli 9,9,1000
> subf 9,9,10
> addi 10,10,1
> addi 9,9,1
> stwu 9,4(8)
> .loc 1 30 0