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

--- Comment #13 from Arnd Bergmann <arnd at linaro dot org> ---
(In reply to wilco from comment #12)
> Does wp512 use 64-bit types? If so, this is likely PR77308.

Yes, as seen in the attachment it uses lots of 64-bit operations. However, it
sounds like PR77308 is ARM specific, but I see the same behavior
on most other architectures, including 64-bit ones. Quoting the
kernel patch I linked to, with stack frame sizes for the function
depending on architecture, optimization flags and compiler version
(only 4.9 and 7.0 here, there is little difference anyway)

default: -O2
press:   -O2 -fsched-pressure
nopress: -O2 -fschedule-insns -fno-sched-pressure
nosched: -O2 -no-schedule-insns (disables sched-pressure)

                                default press   nopress nosched
alpha-linux-gcc-4.9.3           1136    848     1136    176
am33_2.0-linux-gcc-4.9.3        2100    2076    2100    2104
arm-linux-gnueabi-gcc-4.9.3     848     848     1048    352
cris-linux-gcc-4.9.3            272     272     272     272
frv-linux-gcc-4.9.3             1128    1000    1128    280
hppa64-linux-gcc-4.9.3          1128    336     1128    184
hppa-linux-gcc-4.9.3            644     308     644     276
i386-linux-gcc-4.9.3            352     352     352     352
m32r-linux-gcc-4.9.3            720     656     720     268
microblaze-linux-gcc-4.9.3      1108    604     1108    256
mips64-linux-gcc-4.9.3          1328    592     1328    208
mips-linux-gcc-4.9.3            1096    624     1096    240
powerpc64-linux-gcc-4.9.3       1088    432     1088    160
powerpc-linux-gcc-4.9.3         1080    584     1080    224
s390-linux-gcc-4.9.3            456     456     624     360
sh3-linux-gcc-4.9.3             292     292     292     292
sparc64-linux-gcc-4.9.3         992     240     992     208
sparc-linux-gcc-4.9.3           680     592     680     312
x86_64-linux-gcc-4.9.3          224     240     272     224
xtensa-linux-gcc-4.9.3          1152    704     1152    304

aarch64-linux-gcc-7.0.0         224     224     1104    208
arm-linux-gnueabi-gcc-7.0.1     824     824     1048    352
mips-linux-gcc-7.0.0            1120    648     1120    272
mips64-linux-gcc-7.0.0          1072    608     1072    224
x86_64-linux-gcc-7.0.1          240     240     304     240

Reply via email to