Dimitry Andric
12ebae77ad
Pull in r186696 from upstream clang trunk:
...
This patch implements __get_cpuid_max() as an inline and __cpuid()
and __cpuid_count() as macros to be compatible with GCC's cpuid.h.
It also adds bit_<foo> constants for the various feature bits as
described in version 039 (May 2011) of Intel's SDM Volume 2 in the
description of the CPUID instruction. The list of bit_<foo>
constants is a bit exhaustive (GCC doesn't do near this many). More
bits could be added from a newer version of SDM if desired.
Patch by John Baldwin!
This should fix several ports which depend on this functionality being
available.
MFC after: 1 week
2013-07-30 12:33:21 +00:00
..
2013-07-28 06:02:40 +00:00
2013-07-28 06:02:40 +00:00
2013-05-29 19:41:36 +00:00
2013-07-26 22:40:17 +00:00
2013-07-19 01:04:17 +00:00
2013-06-18 19:35:51 +00:00
2013-05-08 20:04:32 +00:00
2013-05-30 16:16:28 +00:00
2012-09-11 21:16:22 +00:00
2012-05-21 04:29:11 +00:00
2013-01-19 02:24:14 +00:00
2013-06-17 10:28:55 +00:00
2012-08-17 18:20:38 +00:00
2012-12-06 01:31:25 +00:00
2013-01-26 22:08:21 +00:00
2013-02-26 00:58:44 +00:00
2013-01-11 17:34:30 +00:00
2013-05-21 19:23:49 +00:00
2013-06-24 21:13:58 +00:00
2013-05-12 15:29:35 +00:00
2013-06-17 18:34:34 +00:00
2012-12-06 01:31:25 +00:00
2012-12-06 01:31:25 +00:00
2012-09-22 17:47:37 +00:00
2013-01-31 08:55:21 +00:00
2013-06-03 14:36:28 +00:00
2013-04-13 22:44:48 +00:00
2013-05-31 00:31:45 +00:00
2013-04-02 05:30:41 +00:00
2012-10-19 12:44:22 +00:00
2013-03-14 23:51:47 +00:00
2013-07-10 16:28:24 +00:00
2013-07-10 16:28:24 +00:00
2013-06-05 21:28:33 +00:00
2013-05-30 08:02:00 +00:00
2013-07-23 10:23:43 +00:00
2013-03-04 11:27:41 +00:00
2013-07-30 12:33:21 +00:00
2012-10-20 10:16:55 +00:00
2012-12-21 21:00:00 +00:00
2013-04-09 06:50:11 +00:00
2012-05-22 06:28:53 +00:00
2013-04-15 18:35:09 +00:00
2013-01-26 22:08:21 +00:00
2013-05-15 18:41:49 +00:00
2013-01-03 07:25:30 +00:00
2013-07-22 08:46:15 +00:00
2013-04-14 16:49:27 +00:00
2012-08-21 06:14:08 +00:00
2013-02-16 12:45:57 +00:00
2012-09-14 11:51:49 +00:00
2011-12-17 23:43:40 +00:00
2013-04-21 17:09:51 +00:00
2013-06-18 02:53:45 +00:00
2013-06-28 21:00:08 +00:00
2013-06-18 02:53:45 +00:00
2013-07-28 06:02:40 +00:00
2012-12-06 01:31:25 +00:00
2013-07-07 21:19:53 +00:00
2012-02-22 03:36:15 +00:00
2013-05-31 17:30:12 +00:00
2012-03-10 11:25:53 +00:00
2012-12-13 06:45:45 +00:00
2012-06-27 07:41:21 +00:00
2013-07-07 22:23:59 +00:00
2013-04-05 09:51:31 +00:00
2013-03-15 00:05:50 +00:00
2013-03-15 00:05:50 +00:00
2013-07-08 16:03:18 +00:00
2012-12-22 21:32:12 +00:00