[llvm-commits] Detect Intel CPU family: 6 model number: 37 as Core i7

Chris Lattner clattner at apple.com
Sat Sep 18 17:33:28 PDT 2010


On Sep 17, 2010, at 1:12 PM, İsmail Dönmez wrote:

> Hi;
> 
> I have a late MacBook Pro 2010 laptop, equipped with Core i7;
> 
> [~/Sources/llvm]> sysctl -a|grep -i model
> hw.model = MacBookPro6,2
> machdep.cpu.model: 37
> machdep.cpu.extmodel: 2
> 
> [~/Sources/llvm]> sysctl -a|grep -i family
> hw.cpufamily: 1463508716
> machdep.cpu.family: 6
> machdep.cpu.extfamily: 0

Hey, me too!  Applied in r114302.  While a more encompassing solution is appreciated, this is good progress in the right direction.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100918/b946beea/attachment.html>


More information about the llvm-commits mailing list