microsoft / llvm-mctoll

llvm-mctoll
Other
816 stars 125 forks source link

[X86-64] Add support for `BT`, `BTS`, `BTR` and `BTC` instructions #129

Closed martin-fink closed 3 years ago

martin-fink commented 3 years ago

This PR adds support for all 12 variants of BT, BTS and BTR and BTC respectively (48 variants in total).

I've added a new InstructionKind for the new instructions since they did not fit an existing one (the nearest would probably be COMPARE).

https://www.felixcloutier.com/x86/bt https://www.felixcloutier.com/x86/bts https://www.felixcloutier.com/x86/btr https://www.felixcloutier.com/x86/btc

bharadwajy commented 3 years ago

Thanks, @martin-fink