Tony Finch
21a383a8fd
General-purpose unrolled ASCII tolower() loops
...
When converting a string to lower case, the compiler is able to
autovectorize nicely, so a nice simple implementation is also very
fast, comparable to memcpy().
Comparisons are more difficult for the compiler, so we convert eight
bytes at a time using "SIMD within a register" tricks. Experiments
indicate it's best to stick to simple loops for shorter strings and
the remainder of long strings.
2022-09-12 12:18:57 +01:00
..
2022-09-12 12:18:57 +01:00
2022-09-07 12:50:08 +02:00
2022-09-12 12:18:57 +01:00
2022-03-25 08:33:43 +01:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-07-13 13:19:32 +02:00
2022-08-25 12:24:25 +02:00
2022-09-12 12:18:57 +01:00
2022-09-12 12:18:57 +01:00
2022-03-28 15:02:18 -07:00
2022-08-26 09:09:24 +02:00
2022-03-25 08:33:43 +01:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-07-13 13:19:32 +02:00
2022-08-26 09:09:24 +02:00
2022-08-25 12:24:29 +02:00
2022-08-25 12:24:29 +02:00
2022-09-12 12:18:57 +01:00
2022-08-26 09:09:24 +02:00
2022-09-02 08:16:17 +00:00
2022-07-13 13:19:32 +02:00
2022-07-13 13:19:32 +02:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-05-23 18:25:18 +03:00
2022-05-23 18:25:18 +03:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-07-05 12:22:55 -07:00
2022-04-25 15:18:58 +01:00
2022-08-25 17:17:07 +02:00
2022-03-28 15:32:30 +03:00
2022-07-13 13:19:32 +02:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-03-25 08:33:43 +01:00
2022-09-12 12:18:57 +01:00
2022-08-26 09:09:24 +02:00
2022-05-28 14:53:02 -07:00
2022-09-09 20:25:47 +02:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-08-26 09:09:24 +02:00
2022-07-05 12:22:55 -07:00
2022-09-12 12:18:57 +01:00
2022-08-25 12:24:29 +02:00
2022-03-25 08:33:43 +01:00
2022-05-04 12:31:46 +02:00
2022-08-25 12:24:29 +02:00