1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
Bjorn Pettersson f8a47e6d1e [Intrinsic] Add the llvm.umul.fix.sat intrinsic
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
2019-09-07 12:16:14 +00:00
..
2019-03-13 19:07:59 +00:00
2015-12-17 22:09:19 +00:00
2019-03-12 21:02:54 +00:00
2016-06-27 19:43:15 +00:00
2019-03-12 21:02:54 +00:00
2019-02-14 22:41:01 +00:00
2016-08-01 18:07:19 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2015-08-14 05:09:07 +00:00
2016-07-04 08:01:29 +00:00

This directory contains testcases that the verifier is supposed to detect as
malformed LLVM code.  Testcases for situations that the verifier incorrectly
identifies as malformed should go in the test/Assembler directory.