Unknown Soldier
Veteran
Yeah. I tried EB but got better performance with 74 on my 8 core 5800X. With 75 I got around 33% usage, with EB I got 40% and with 74 I got 44% or more. I can do a few more tests with all.This searches for the Hex Pattern and changes it to 0xEB. @Unknown Soldier indicated he had better performance using 0x74 instead of 0xEB.
Hex Pattern: 0x75, 0xCC, 0x33, 0xC9, 0xB8, 0x01, 0x00, 0x00, 0x00, 0x0F, 0xA2, 0x8B, 0xC8, 0xC1, 0xF9, 0x08
New Byte: 0xEB;
SMT Patching Coding @ https://github.com/yamashi/PerformanceOverhaulCyberpunk/blob/master/src/smt_amd_patch.cpp
The original instruction code 0x75 performs a test and jumps to a location based on results of the test, code 0x74 changes the test, and 0xEB will jump to the location without doing the test.