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: Use IFUNC on x86-64 memset


On Fri, Nov 5, 2010 at 19:10, H.J. Lu <hongjiu.lu@intel.com> wrote:
> + Â Â Â/* Intel processors prefers SSE instructions for memory/string
> + Â Â Â Âroutines if they are avaiable. Â*/
> + Â Â Â__cpu_features.feature[index_Prefer_SSE] |= bit_Prefer_SSE;

In general OK but I don't like the name of the bit.  There might be
later conflicting decisions, i.e., maybe sometimes SSE is not
preferred.  Then the macro name s misleading.

The comment you have here already says it better.  Use
_Prefer_SSE_for_memop or something of that kind.


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