evmar / retrowin32

windows emulator
https://evmar.github.io/retrowin32/
Apache License 2.0
587 stars 26 forks source link

implement imul_r16_rm16 #55

Closed LinusU closed 1 month ago

LinusU commented 2 months ago

This probably needs some extra scrutiny because I have no idea what I'm doing here 😅

Fixes #57

LinusU commented 1 month ago

I've updated this to use generic functions, and to also set flags correctly (so closing #57)

Some more info here: https://github.com/evmar/retrowin32/issues/57#issuecomment-2394122712

tl;dr this compiles down to a single imul call: godbolt link 🤩

LinusU commented 1 month ago

@evmar should be much simpler now 🙏

still compiles down to a single imul call