[PATCH v4] faster strlen on x64

Richard Henderson rth@twiddle.net
Wed Mar 6 22:25:00 GMT 2013


On 2013-03-06 13:54, Andreas Jaeger wrote:
>> +/* Used in linker - use only %xmm8-%xmm15.  */
>
> Better expand
> Say explictely - if it's true: This is used inside the dynamic linker during
> relocation, thus we cannot touch the usual registers. We can use %xmm8 to %xmm15.

I did already object to using *any* xmm registers in the dynamic linker.

I know for a fact that Intel has a __regcall calling convention in place that 
uses all 16 xmm registers for parameter passing.


r~



More information about the Libc-alpha mailing list