grep - Bugs: bug #30821, Support new SSE 4.2 string...
You are not allowed to post comments on this tracker with your current authentication level.
bug #30821: Support new SSE 4.2 string searching instructions?
Submitter: | Nick Welch <mackstann> | ||
Submitted: | Thu 19 Aug 2010 05:17:51 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | None | Status: | Invalid |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed |
Thu 19 Aug 2010 05:25:56 PM UTC, comment #2: |
Nick Welch <mackstann> |
Thu 19 Aug 2010 05:21:29 PM UTC, comment #1: Recent glibc already uses SSE instructions for strstr and friends. It's much easier from a maintainer's point of view to rely on libc to implement optimizations than it is to complicate multiple projects with assembly-specific hacks, especially since on GNU/Linux systems, it won't provide any speedups above what using glibc already provides. |
Eric Blake <ericb> |
Thu 19 Aug 2010 05:17:51 PM UTC, original submission:
Here is an implementation of strstr using these new instructions: <http://www.strchr.com/strcmp_and_strlen_using_sse_4.2> (you actually might not actually want to read the code if you plan on implementing this, as it does not appear to be made available under a free license)
|
Nick Welch <mackstann> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2010-08-20 | bonzini | Status | None | Invalid | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-4b48.
Corresponding source code
Ah, good to know that glibc handles this. Thanks for the explanation.