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 tree-optimization/67577] Trivial float-vectorization foiled by a loop


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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Trunk with -O3 -mavx generates:

Z1xv:
        .cfi_startproc
        vmovaps b(%rip), %ymm1
        vmovaps a(%rip), %ymm0
        vbroadcastss    scale(%rip), %ymm2
        vsubps  %ymm1, %ymm0, %ymm0
        vmulps  %ymm2, %ymm0, %ymm0
        vaddps  %ymm1, %ymm0, %ymm0
        vmovaps %ymm0, c(%rip)
        vzeroupper
        ret
        .cfi_endproc

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