Files
FEX-Emu--FEX/External/FEXCore/Source/Interface/Core
Ryan Houdek 0946b123bb JITArm64: Get long divide out of the hot path
For 128-bit divides, we can very quickly check at runtime if we can
avoid the long divide and just do a 64-bit divide.

For unsigned just check if the top bits are all zero.
For signed just check if the top bits match bit 63 of the lower bits.

Additionally, keep the long divide handlers inside of the dispatcher.
This keeps the majority of the code bloat out of the code block itself,
significantly reducing block size for something doing these divides.
Also a fairly large icache improvement from this.

Hard performance number improvements here are hard to get since it
heavily depends on the application, also only occurs on x86-64.

Seems to have helped FTL and Dead Cells performance quite a bit though.
2022-03-31 09:33:19 -07:00
..
2022-02-28 21:04:03 -08:00
2022-03-13 18:40:49 -07:00
2020-03-06 09:07:37 +02:00
2022-03-22 16:53:44 -07:00
2022-03-22 16:53:44 -07:00
2020-03-06 09:07:37 +02:00
2022-03-13 13:05:00 -07:00
2022-03-13 13:05:00 -07:00
2021-08-28 00:32:15 -07:00