Alina Sbirlea
36f57fbc66
Add runtime support for __cpu_model (__builtin_cpu_supports)
...
Summary:
This aims to add support for __cpu_model and address Bug 25510. It uses
the code from lib/Support/Host.cpp for cpu detection, and creates
__cpu_model with that info.
Tested on OSX and built on Linux as well (though libgcc is the default).
The use of "asm" required -std=gnu99, hence the cmake change. Corrections
on better addressing this are welcome.
Previously reverted, up for review again to iron out outstanding issues.
Reviewers: llvm-commits, joerg, echristo, mehdi_amini
Subscribers: mehdi_amini
Differential Revision: http://reviews.llvm.org/D22181
llvm-svn: 275484
2016-07-14 22:02:35 +00:00
..
2015-08-21 00:25:37 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2016-07-14 22:02:35 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-11-22 19:13:49 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-05-12 18:33:42 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-04-24 15:45:57 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-04-24 15:45:57 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-11-05 18:36:42 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-08-18 13:43:37 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-07-31 13:32:09 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-08-18 13:43:37 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-06-23 20:24:53 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-08-18 13:43:37 +00:00
2015-11-05 18:36:42 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-06-23 20:24:53 +00:00
2015-06-23 20:24:53 +00:00
2015-04-24 15:45:57 +00:00
2015-06-23 20:24:53 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00
2015-04-24 15:45:57 +00:00