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

İsmail Dönmez ismail at namtrac.org
Fri Sep 17 13:12:04 PDT 2010


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

Attached patch fixes llvm to detect this as corei7 cpu.

Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100917/100eed0f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i7.patch
Type: application/octet-stream
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100917/100eed0f/attachment.obj>


More information about the llvm-commits mailing list