[PATCH] D48606: [X86] Use bts/btr/btc for single bit set/clear/complement of a variable bit position

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 26 14:03:06 PDT 2018


craig.topper added a comment.

I'll add the 16-bit tests.

Memory patterns shouldn't be done. BTR/S/C from memory have strange semantics(they don't ignore unused bits of the index) and are really slow because they recompute the memory address using all bits of the index register.

What do you mean patterns with immediates?


https://reviews.llvm.org/D48606





More information about the llvm-commits mailing list