These are general purpose bit manipulation instructions akin to the BMI1 and BMI2 instructions. This is an AMD extension and uses the XOP instruction prefix.
I am in the process of trying to run the gcc testsuite with -mtbm, with and without the patchset, to see (1) if the new insns get used and (2) that they run ok. Please review. r~ Richard Henderson (2): target/i386: Decode AMD XOP prefix target/i386: Implement all TBM instructions target/i386/cc_helper_template.h | 18 +++++ target/i386/cpu.h | 7 +- target/i386/cc_helper.c | 28 ++++++- target/i386/cpu.c | 3 +- target/i386/translate.c | 163 +++++++++++++++++++++++++++++++++++---- 5 files changed, 199 insertions(+), 20 deletions(-) -- 2.9.4