Justin Becker
638329278c
Inlined PCMPXSTRX
Improves performance for SSE4.2 String operations by ~10x by emitting inline ASM instead of jumping to a C++ helper.
Performance numbers from a simple microbenchmark vs the existing C++ implementation:
| | Equal Any | Ranges | Equal Each | Equal Ordered |
|---------------|-----------|--------|------------|---------------|
| **pcmpestri** | 13.40× | 9.71× | 19.38× | 14.07× |
| **pcmpestrm** | 13.12× | 9.54× | 18.73× | 13.80× |
| **pcmpistri** | 11.75× | 9.19× | 17.63× | 12.80× |
| **pcmpistrm** | 11.39× | 8.83× | 16.31× | 12.26× |
2026-09-22 12:50:02 -07:00
..
2026-08-21 14:55:03 -07:00
2026-09-21 20:53:27 -07:00
2026-09-22 12:50:02 -07:00
2026-09-22 12:50:02 -07:00
2026-09-22 12:50:02 -07:00
2023-09-19 17:33:15 -07:00
2026-09-15 15:00:03 -07:00
2025-12-29 11:45:51 -08:00
2025-10-06 15:52:15 -04:00
2026-09-15 13:01:53 -07:00
2026-09-21 20:53:27 -07:00
2026-09-22 12:50:02 -07:00
2026-08-30 01:52:42 -07:00
2026-09-16 16:08:40 -07:00
2026-03-25 19:18:05 -04:00
2026-09-22 00:05:10 -07:00
2026-09-22 11:10:40 -04:00
2026-09-15 15:00:03 -07:00
2026-09-13 17:36:42 -07:00
2026-05-13 21:25:47 +02:00
2026-08-30 01:52:42 -07:00
2026-09-21 14:46:34 -07:00
2026-09-22 12:50:02 -07:00
2026-09-18 17:01:26 -07:00
2026-09-18 17:01:26 -07:00