[Bug target/80689] 128 loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.
rohitarulraj at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue May 9 10:46:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80689
Rohit <rohitarulraj at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rohitarulraj at gmail dot com
--- Comment #3 from Rohit <rohitarulraj at gmail dot com> ---
Code generated with ICC17 (-O2 -march=core-avx2)
test(st2*, unsigned long, unsigned long, long, long):
movq %rsi, 8(%rdi) #29.9
movq %rdx, 16(%rdi) #29.9
movq %rcx, 24(%rdi) #29.9
movq %r8, 32(%rdi) #29.9
ret #25.1
Set(st1 const*, st2*):
movq (%rdi), %rax #29.22
movq %rax, 8(%rsi) #29.9
movq 8(%rdi), %rdx #29.22
movq %rdx, 16(%rsi) #29.9
movq 16(%rdi), %rcx #29.22
movq %rcx, 24(%rsi) #29.9
movq 24(%rdi), %r8 #29.22
movq %r8, 32(%rsi) #29.9
ret
More information about the Gcc-bugs
mailing list