[PATCH] D109295: [X86] Handle inverted inputs when matching VPTERNLOG from 2 binary ops.
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 11:00:56 PDT 2021
xbolva00 added a comment.
Also some more cases for ternlog
__m512i notBorC(__m512i B, __m512i C) {
return ~(B|C); // 0x11
}
__m512i notBandC(__m512i B, __m512i C) {
return ~(B&C); // 0x77
}
__m512i notBxorC(__m512i B, __m512i C) {
return ~(B^C); // ~(B^C)
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109295/new/
https://reviews.llvm.org/D109295
More information about the llvm-commits
mailing list