forked from OSchip/llvm-project
5e331e4ce8
Summary: Add an intrinsic that takes 2 unsigned integers with the scale of them provided as the third argument and performs fixed point multiplication on them. The result is saturated and clamped between the largest and smallest representable values of the first 2 operands. This is a part of implementing fixed point arithmetic in clang where some of the more complex operations will be implemented as intrinsics. Patch by: leonardchan, bjope Reviewers: RKSimon, craig.topper, bevinh, leonardchan, lebedev.ri, spatel Reviewed By: leonardchan Subscribers: ychen, wuzish, nemanjai, MaskRay, jsji, jdoerfert, Ka-Ka, hiraditya, rjmccall, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57836 llvm-svn: 371308 |
||
---|---|---|
.. | ||
basic.ll | ||
cache-bug.ll | ||
crash-bug.ll | ||
dbginfo.ll | ||
dbgloc-bug.ll | ||
intrinsics.ll | ||
order-bug.ll | ||
phi-bug.ll | ||
store-bug.ll | ||
vector-gep.ll |