Simon Pilgrim
4ddc92b6cd
[X86][SSE] Add lowering to cvttpd2dq/cvttps2dq for sitofp v2f64/2f32 to 2i32
...
As discussed on PR28461 we currently miss the chance to lower "fptosi <2 x double> %arg to <2 x i32>" to cvttpd2dq due to its use of illegal types.
This patch adds support for fptosi to 2i32 from both 2f64 and 2f32.
It also recognises that cvttpd2dq zeroes the upper 64-bits of the xmm result (similar to D23797) - we still don't do this for the cvttpd2dq/cvttps2dq intrinsics - this can be done in a future patch.
Differential Revision: https://reviews.llvm.org/D23808
llvm-svn: 284459
2016-10-18 07:42:15 +00:00
..
2016-08-05 17:56:49 +00:00
2016-10-12 16:18:43 +00:00
2016-10-08 00:22:50 +00:00
2016-10-12 13:41:38 +00:00
2016-09-01 09:42:39 +00:00
2016-09-21 15:29:08 +00:00
2016-08-12 01:09:53 +00:00
2016-08-31 19:24:10 +00:00
2016-09-12 16:04:59 +00:00
2016-09-30 03:01:17 +00:00
2016-09-13 01:12:59 +00:00
2016-10-10 17:53:33 +00:00
2016-09-15 20:26:27 +00:00
2016-10-15 21:35:23 +00:00
2016-10-13 01:39:10 +00:00
2016-09-28 23:39:39 +00:00
2016-09-20 23:10:31 +00:00
2016-10-08 04:47:20 +00:00
2016-10-14 16:31:54 +00:00
2016-09-28 14:27:21 +00:00
2016-10-14 18:20:41 +00:00
2016-08-14 01:04:46 +00:00
2016-10-03 18:18:04 +00:00
2016-10-14 18:10:39 +00:00
2016-08-22 12:59:58 +00:00
2016-08-11 18:28:33 +00:00
2016-09-21 19:16:47 +00:00
2016-08-09 22:44:56 +00:00
2016-10-12 20:39:33 +00:00
2016-10-12 21:29:38 +00:00
2016-10-13 14:54:31 +00:00
2016-08-28 08:53:53 +00:00
2016-09-02 22:03:40 +00:00
2016-08-12 17:28:27 +00:00
2016-09-27 00:29:53 +00:00
2016-08-25 21:03:46 +00:00
2016-09-17 20:40:16 +00:00
2016-09-13 23:43:11 +00:00
2016-10-06 20:38:13 +00:00
2016-10-03 19:35:30 +00:00
2016-08-18 13:22:37 +00:00
2016-10-07 20:34:00 +00:00
2016-10-14 17:56:00 +00:00
2016-09-21 16:26:51 +00:00
2016-08-24 18:10:21 +00:00
2016-10-17 19:28:44 +00:00
2016-10-18 07:42:15 +00:00
2016-09-22 07:56:23 +00:00
2016-10-17 20:05:35 +00:00
2016-10-06 18:30:26 +00:00
2016-08-11 19:09:02 +00:00