[PATCH] D35214: [compiler-rt][X86] Match the detection of cpu's for __cpu_model to the latest version of gcc

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 23:55:51 PDT 2017


craig.topper updated this revision to Diff 106143.
craig.topper added a comment.

I've synced what I can of this into Host.cpp now. Host.cpp now has two feature variables now because just in matching libgcc we used 31 bits. The fall back CPU detection for Intel family 6 required 3 more bits. So I gave Host.cpp a second variable. Now getAvailableFeatures in Host.cpp returns both feature variables through outparams. I've changed getAvailableFeatures here to return its single feature variable as an outparam as well to keep them somewhat consistent.


https://reviews.llvm.org/D35214

Files:
  lib/builtins/cpu_model.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35214.106143.patch
Type: text/x-patch
Size: 17546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/dd6f7dac/attachment-0001.bin>


More information about the llvm-commits mailing list