This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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 math/20495] x86_64 performance degradation due to AVX/SSE transition penalty


https://sourceware.org/bugzilla/show_bug.cgi?id=20495

--- Comment #8 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
(In reply to Adam Stylinski from comment #2)
> Created attachment 9469 [details]
> Slower AVX example
> 
> Compile this with -mavx & then compile it with -msse4.  The -msse4 version
> will be faster as it's not hitting the SSE to AVX register transition
> penalty.

You can avoid slowdown also using "-Wl,-z,now".

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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