search for: _1pdoz

Displaying 2 results from an estimated 2 matches for "_1pdoz".

2018 Dec 31
0
[cfe-dev] Portable multiplication 64 x 64 -> 128 for int128 reimplementation
...t in this function. Clang generates different code for > each one of them. If someone does pursue writing an InstCombine > optimization for this, it would be good to generate the same efficient code > for all three versions. > https://godbolt.org/z/-Cozee (LLVM IR: https://godbolt.org/z/_1pDoz) > > –Arthur > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181231/af65dce8/attachment.html>
2018 Dec 30
3
[cfe-dev] Portable multiplication 64 x 64 -> 128 for int128 reimplementation
_mulx_u64 only exists when the target is x86_64. That's still not very portable. I'm not opposed to removing the bmi2 check, but gcc also has the same check so it doesn't improve portability much. ~Craig On Sat, Dec 29, 2018 at 4:44 PM Arthur O'Dwyer via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Pawel, > > There is the _mulx_u64 intrinsic, but it