]> granicus.if.org Git - clang/commit
Implement __umulh with __int128 arithmetic
authorReid Kleckner <reid@kleckner.net>
Wed, 3 Dec 2014 23:36:14 +0000 (23:36 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 3 Dec 2014 23:36:14 +0000 (23:36 +0000)
commit253c097d5941f006da966a0a84eb8e2694e088df
tree589aeafab00567838cd83ccb1a1e0c922f4ef54d
parent9181092ef1a9140a04b35b8fdff463f2d30a80e8
Implement __umulh with __int128 arithmetic

Use the same approach as _umul128, but just return the high half.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223316 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/Intrin.h