Tom Stellard
1f3c9ba9f1
Implement trunc builtin.
...
OpenCL C lang says that trunc rounds towards zero.
llvm.trunc.* intrinsic rounds to integer not larger in magnitude.
These definitions are equivalent.
Patch by: Jan Vesely
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 197769
2013-12-20 02:08:46 +00:00
..
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-10-10 19:08:51 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2012-05-29 00:42:29 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2012-05-29 00:42:29 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2012-05-29 00:42:29 +00:00
2012-05-29 00:42:29 +00:00
2012-05-29 00:42:29 +00:00
2012-05-29 00:42:29 +00:00
2012-10-08 03:39:05 +00:00
2013-10-10 19:08:51 +00:00
2013-07-08 17:27:02 +00:00
2013-08-10 03:40:33 +00:00
2013-11-18 18:21:27 +00:00
2012-08-21 10:48:35 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00
2013-12-20 02:08:46 +00:00
2013-07-08 17:27:02 +00:00
2013-07-08 17:27:02 +00:00