There are three separate architecture extensions for logical operations,
BMI, BMI2, and TBM. The first two are supported on Intel Haswell and
AMD Excavator, while slightly earlier AMD support only BMI and TBM.
The following adds support for the interesting BMI and BMI2 instructions,
where it is easy to do so. Most of the rest of the new instructions are
irrelevant to TCG.
When I added support for the ANDC opcode, I noticed some optimization
regressions when looking at ppc64 guest dumps. I will address these
in a separate patch set.