[PATCH v2] X86: disambiguate unqualified btr, bts

Tim Northover t.p.northover at gmail.com
Wed Jul 17 07:30:17 PDT 2013


> Hmm, I think I wasn't as clear as I could have been. For those
> bit testing mnemonics with explicit size suffixes, a diagnostic
> for immediates that are out of range seems correct. So [0,15] for
> btw and friends, [0,31] for btl and friends, and [0,63] for btq and
> friends.

I think I like that one even less. It means that we can't reassemble
our own disassembly, and that the user has no way to specify the
encodings with "out of range" immediates even if they wanted to (ours
not to reason why etc).

Cheers.

Tim.



More information about the llvm-commits mailing list