Jörn Horstmann
e393f56d37
Improve autovectorization of to_lowercase / to_uppercase functions
...
Refactor the code in the `convert_while_ascii` helper function to make
it more suitable for auto-vectorization and also process the full ascii
prefix of the string. The generic case conversion logic will only be
invoked starting from the first non-ascii character.
The runtime on microbenchmarks with ascii-only inputs improves between
1.5x for short and 4x for long inputs on x86_64 and aarch64.
The new implementation also encapsulates all unsafe inside the
`convert_while_ascii` function.
Fixes #123712
2024-09-23 11:31:29 +02:00
..
2024-05-31 15:56:43 +10:00
2024-07-12 10:47:56 +01:00
2024-05-31 15:56:43 +10:00
2024-06-09 13:25:12 +00:00
2024-05-31 15:56:43 +10:00
2024-02-23 18:04:01 -05:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-07-14 13:48:29 +03:00
2024-08-11 19:40:44 +02:00
2024-02-23 18:04:01 -05:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-06-09 13:25:12 +00:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-08-31 23:56:45 +02:00
2024-06-09 13:25:12 +00:00
2024-04-24 13:12:33 +01:00
2024-05-31 15:56:43 +10:00
2024-02-23 18:04:01 -05:00
2024-05-31 15:56:43 +10:00
2024-02-23 18:04:01 -05:00
2024-02-23 18:04:01 -05:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-02-23 18:04:01 -05:00
2024-08-08 18:08:44 +08:00
2024-06-11 07:45:16 +00:00
2024-09-18 13:53:31 -07:00
2024-04-11 21:42:35 -04:00
2024-06-19 21:35:37 -07:00
2024-06-09 13:25:12 +00:00
2024-03-17 10:11:04 -07:00
2024-02-23 18:04:01 -05:00
2024-08-08 18:08:44 +08:00
2024-09-18 13:53:31 -07:00
2024-05-31 15:56:43 +10:00
2024-02-27 23:14:36 -05:00
2024-08-03 16:41:49 +00:00
2024-06-11 16:07:14 +02:00
2024-09-23 11:31:29 +02:00
2024-08-08 18:08:44 +08:00
2024-08-06 14:37:33 -07:00