This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80689] 128 loads generated for structure copying with gcc 7.1.0 and leads to STLF stalls in avx2 targets.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]