ogurets / popcnt_emulator

Pintool library for running Quantum Break on pre-SSE4.2 CPUs
22 stars 5 forks source link

Pin 3 support #7

Closed mirh closed 3 years ago

mirh commented 4 years ago

This was kind of necessary for newer VS, since pin2 only supports _msc_ver=1800. I tried to keep the VS2012 file structure as much as possible, if somebody still wanted to use it.

ogurets commented 3 years ago

@mirh Thank you for the fixes!

mirh commented 3 years ago

I think there are some military secrets easier to crack than the knobs you have to get tight for pin 3 to compile.

Anyhow.. could this bring better performance? I only tested this program with apex without EAC disabled, and despite theoretically having a lot of popcnt instructions, performance was in the ballpark you would expect for a Core 2 Quad.

And assuming this should be faster than the latest version of SDE, which was in turn the fastest solution in my "hot code profiling", I can't see how you could beat it.