| Summary: | arm optimized memset4 and memcpy4 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vittorio Giovara <vitto.giova> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | WAITING --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | ARM | ||
| OS: | Other | ||
| Attachments: |
checking GNUCC for __builtin function
arm optimized SDL_memset4 arm optimized SDL_memcpy4 original non-inlined memset4 version |
||
|
Description
Vittorio Giovara
2013-07-25 16:53:43 UTC
Created attachment 1255 [details]
checking GNUCC for __builtin function
Created attachment 1256 [details]
arm optimized SDL_memset4
Created attachment 1257 [details]
arm optimized SDL_memcpy4
Created attachment 1258 [details]
original non-inlined memset4 version
Thanks for the patches. A few comments: * Do you know what version of gcc provides each of those builtins? I believe gcc 2.95 doesn't, for example, which is I think still used for the Haiku build. * I didn't check your assembly, but your SDL_memset4() is a 32-bit set, not an 8-bit set, correct? * SDL_memcpy4() has been removed, since it isn't faster than modern memcpy functions. |