Sanjay Patel
e4e5cf5a66
make reciprocal estimate code generation more flexible by adding command-line options (3rd try)
...
The first try (r238051) to land this was reverted due to ExecutionEngine build failure;
that was hopefully addressed by r238788.
The second try (r238842) to land this was reverted due to BUILD_SHARED_LIBS failure;
that was hopefully addressed by r238953.
This patch adds a TargetRecip class for processing many recip codegen possibilities.
The class is intended to handle both command-line options to llc as well
as options passed in from a front-end such as clang with the -mrecip option.
The x86 backend is updated to use the new functionality.
Only -mcpu=btver2 with -ffast-math should see a functional change from this patch.
All other x86 CPUs continue to *not* use reciprocal estimates by default with -ffast-math.
Differential Revision: http://reviews.llvm.org/D8982
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239001 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-04 01:32:35 +00:00
..
2015-04-24 19:32:54 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-26 18:35:10 +00:00
2015-05-26 18:35:10 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-24 19:32:54 +00:00
2015-05-06 19:11:20 +00:00
2015-05-06 19:11:20 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-26 18:35:10 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-26 18:35:10 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-23 00:31:56 +00:00
2015-05-26 18:35:10 +00:00
2015-05-26 18:35:10 +00:00
2015-05-26 18:35:10 +00:00
2015-04-27 07:55:46 +00:00
2015-05-25 17:49:13 +00:00
2015-05-26 11:32:39 +00:00
2015-06-01 13:26:18 +00:00
2015-05-14 09:04:45 +00:00
2015-05-10 14:23:52 +00:00
2015-05-20 14:32:03 +00:00
2015-06-03 13:41:48 +00:00
2015-05-17 07:28:51 +00:00
2015-05-25 11:33:13 +00:00
2015-05-20 14:32:03 +00:00
2015-05-12 13:25:46 +00:00
2015-06-03 11:21:01 +00:00
2015-05-27 14:09:33 +00:00
2015-05-18 07:06:23 +00:00
2015-05-29 18:19:25 +00:00
2015-05-11 09:03:14 +00:00
2015-05-11 09:03:14 +00:00
2015-05-04 12:59:15 +00:00
2015-05-11 06:05:05 +00:00
2015-06-03 13:41:48 +00:00
2015-05-30 06:02:37 +00:00
2015-04-30 18:58:23 +00:00
2015-05-18 23:35:09 +00:00
2015-05-20 22:31:55 +00:00
2015-05-26 18:35:10 +00:00
2015-04-23 08:43:13 +00:00
2015-05-18 23:35:09 +00:00
2015-04-23 21:17:39 +00:00
2015-05-29 18:19:25 +00:00
2015-05-12 01:26:05 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-06 10:19:14 +00:00
2015-05-06 16:43:21 +00:00
2015-04-22 16:11:19 +00:00
2015-05-05 23:41:53 +00:00
2015-05-06 21:37:19 +00:00
2015-05-08 18:29:42 +00:00
2015-04-29 23:51:33 +00:00
2015-05-12 01:26:05 +00:00
2015-05-25 12:35:25 +00:00
2015-04-25 20:41:51 +00:00
2015-05-01 08:20:04 +00:00
2015-05-01 08:20:04 +00:00
2015-04-30 04:06:32 +00:00
2015-05-19 11:06:56 +00:00
2015-04-29 16:38:44 +00:00
2015-05-04 23:22:36 +00:00
2015-04-21 17:21:36 +00:00
2015-05-11 17:14:39 +00:00
2015-05-12 07:33:07 +00:00
2015-05-26 18:35:10 +00:00
2015-05-19 11:06:56 +00:00
2015-05-05 17:44:16 +00:00
2015-04-30 22:11:59 +00:00
2015-04-30 22:11:59 +00:00
2015-04-24 19:32:54 +00:00
2015-05-07 10:18:28 +00:00
2015-05-29 01:40:00 +00:00
2015-05-07 17:22:06 +00:00
2015-04-29 16:38:44 +00:00
2015-05-03 07:12:25 +00:00
2015-05-03 07:12:25 +00:00
2015-05-09 03:13:37 +00:00
2015-05-08 13:47:01 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-04-24 19:32:54 +00:00
2015-04-22 06:02:31 +00:00
2015-04-23 16:45:24 +00:00
2015-05-28 20:44:28 +00:00
2015-04-30 08:23:16 +00:00
2015-05-26 18:35:10 +00:00
2015-05-21 10:05:03 +00:00
2015-05-26 18:35:10 +00:00
2015-04-30 21:03:29 +00:00
2015-06-02 22:33:30 +00:00
2015-05-28 22:12:27 +00:00
2015-04-27 23:35:22 +00:00
2015-06-04 01:32:35 +00:00
2015-04-24 20:25:05 +00:00
2015-04-23 23:22:33 +00:00
2015-04-23 22:38:36 +00:00
2015-04-23 23:22:33 +00:00
2015-04-23 23:22:33 +00:00
2015-04-28 14:46:35 +00:00
2015-05-12 01:26:05 +00:00
2015-04-30 21:22:28 +00:00
2015-04-24 19:32:54 +00:00
2015-06-04 01:32:35 +00:00
2015-05-18 23:35:09 +00:00
2015-05-21 14:01:32 +00:00
2015-05-21 14:01:32 +00:00
2015-05-02 11:50:47 +00:00
2015-05-21 14:01:32 +00:00
2015-05-07 15:48:53 +00:00
2015-05-04 21:27:27 +00:00
2015-04-29 16:38:44 +00:00
2015-04-29 16:38:44 +00:00
2015-05-12 23:52:24 +00:00
2015-05-12 23:52:24 +00:00
2015-05-12 23:52:24 +00:00
2015-05-12 23:52:24 +00:00
2015-05-20 11:37:25 +00:00
2015-05-12 23:52:24 +00:00
2015-05-12 23:52:24 +00:00
2015-04-23 16:45:24 +00:00
2015-05-08 21:23:39 +00:00
2015-05-28 20:44:28 +00:00
2015-05-28 20:44:28 +00:00
2015-05-28 20:44:28 +00:00
2015-05-08 23:52:00 +00:00
2015-05-20 04:45:26 +00:00
2015-04-29 16:38:44 +00:00
2015-05-21 10:05:03 +00:00
2015-05-29 18:19:25 +00:00
2015-05-02 11:42:47 +00:00
2015-05-30 10:35:03 +00:00
2015-05-30 10:35:03 +00:00
2015-05-21 10:05:03 +00:00
2015-05-29 18:19:25 +00:00
2015-05-29 18:19:25 +00:00
2015-05-21 10:05:03 +00:00
2015-04-30 22:11:59 +00:00
2015-05-29 21:58:11 +00:00
2015-05-29 22:57:46 +00:00
2015-04-23 23:22:33 +00:00
2015-05-19 11:06:56 +00:00
2015-05-08 15:11:07 +00:00
2015-05-22 18:10:47 +00:00
2015-05-27 06:28:41 +00:00