[Patch / Refactor] x86 "OptPass1MOV" improvements - Part 2½
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
This patch refactors OptPass1MOV to remove optimisations that are no longer necessary or even executed thanks to the new DeepMOVOpt feature. Compiled source code should be no different. See Additional Information for a more detailed list of removed optimisations.
Steps to reproduce:
Apply patch and confirm identical compilation of unrelated source files.
Additional information:
Removed optimisations:
- MovMov2Mov 2
- MovMov2Mov 4
- MovMov2Mov 6c
- Mov2Nop 2
- MovTest/Cmp/Or/AndJxx2Test/Cmp/Or/AndJxx
- MovTest/Cmp/Or/AndJxx2MovTest/Cmp/Or/AndJxx
- MovMovXX2MoVXX 1 (part of OptPass2MOV rather than OptPass1MOV)
* Though these optimisations were still executed, DeepMOVOpt performs equivalent optimisations