mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
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× |