This is the mail archive of the libc-alpha@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]

Re: [PATCH] Save fp registers on x64 function resolution.


To reiterate the point that other people have made previously:

GCC 4.8 has gained an ability to spill to SSE registers rather than to stack.
Assuming that some/all distributions will not pass -mno-sse on x86-64, you
already have a problem even without external modules such as malloc hooks or
audit libraries.


I don't understand why there is concern about the additional cost to
save/restore SSE registers.  That code is only executed once per symbol at the
time of resolution, where it is negligible compared to the cost of symbol
lookup.  In case PLT profiling is active, you have the additional cost on each
call, but there it is again negligible compared to the profiling routines.

Alexander


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