FEX-Emu / FEX-Emu/FEX

Look in to optimizing PCMPESTR*

Open
#3,663 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

A Hat In Time's Menu abuses the instruction in both the main menu and in-game. See if we can make it go faster.

Ideally the SVE `NMATCH` or `MATCH` instruction can be used to emulate the feature.
The hot loop uses both ECX result and flag result depending on where it is in the loop.

Comes from vcruntime140.dll, wcsstr. A micro bench would be quite easy to generate.

![Image_2024-05-28_00-44-30](https://github.com/FEX-Emu/FEX/assets/1018829/d8ff8ffc-bff5-4ea8-86d0-cb5ff97f0fda)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.