bap
bap copied to clipboard
Fixes failing PowerPC unit tests
The failing tests were all related to load/store instruction encodings. It seems that they accept a sign-extended 16-bit immediate offset in these cases, and the sign extension wasn't being performed by the lifter.
cc @gitoleg The git history says you wrote all of this so I wanted to make sure that these changes make sense. I assume at one point the tests were passing.
@bmourad01
looks reasonable! But I have no idea why we didn't see this fail before