The attached patch fixes the problems with the Intel
bit test BURS rule described in bug #1411486. The main
thing it does is implement immediate versions of the
bit test instruction. As the form of this instruction
is shared by btc, btr and bts, the patch also contains
new assembler productions to create these instructions.
The patch also modifies the right shift bit test
instructions as the observed IR no longer contains
moves. The shift right BURS rules were individually
tested to check they created bit test instructions.
STATEMENT OF ORIGIN FOR A SINGLE CONTRIBUTOR
I, Ian Rogers:
(a) represent that either:
(i) I am the only author and owner of the contributed
(described as/entitled fixes to Intel bit test),
which was neither derived nor copied from any
(ii) that any exception to (i) is software which was
obtained under the
CPL (Common Public License),
(b) hereby agree to license this contributed software
under the CPL.