Bevin Hansson
5de6c56f7e
[Intrinsic] Add sshl.sat/ushl.sat, saturated shift intrinsics.
Summary:
This patch adds two intrinsics, llvm.sshl.sat and llvm.ushl.sat,
which perform signed and unsigned saturating left shift,
respectively.
These are useful for implementing the Embedded-C fixed point
support in Clang, originally discussed in
http://lists.llvm.org/pipermail/llvm-dev/2018-August/125433.html
and
http://lists.llvm.org/pipermail/cfe-dev/2018-May/058019.html
Reviewers: leonardchan, craig.topper, bjope, jdoerfert
Subscribers: hiraditya, jdoerfert, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83216
2020-08-07 15:09:24 +02:00
..
2020-07-22 13:31:11 -04:00
2020-04-20 15:10:18 +02:00
2019-10-17 00:37:04 +00:00
2020-07-31 10:13:36 -07:00
2020-07-17 16:04:24 -07:00
2020-07-28 14:25:26 -07:00
2020-02-18 14:54:57 -08:00
2020-07-21 16:01:18 -07:00
2019-01-19 08:50:56 +00:00
2020-08-06 14:35:51 +02:00
2020-07-06 09:19:40 -04:00
2020-02-14 15:57:39 -08:00
2020-08-07 15:09:24 +02:00
2020-07-27 10:20:44 -07:00
2020-07-23 21:17:31 -04:00
2020-06-09 15:05:04 -04:00
2020-08-07 15:09:24 +02:00
2020-07-28 16:49:55 -04:00
2019-06-22 01:30:17 +00:00
2020-03-06 21:35:08 -08:00
2020-04-25 11:50:52 +02:00
2020-08-07 15:09:24 +02:00
2020-05-06 10:06:13 +02:00
2020-03-20 11:02:50 +01:00
2020-03-20 11:02:50 +01:00
2020-08-04 16:55:55 -04:00