[PATCH] D53461: [X86][compiler-rt] Add additional CPUs and features to the cpu detection to match libgcc
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 20 11:02:06 PST 2018
vitalybuka added a comment.
FYI http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-ubsan/builds/7970/steps/build%20stage1%20clang/logs/stdio
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c: In function ‘getAvailableFeatures’:
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:470:22: warning: left shift count is negative [-Wshift-count-negative]
Features2 |= 1 << (F - 32); \
^
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:474:5: note: in expansion of macro ‘setFeature’
setFeature(FEATURE_CMOV);
^~~~~~~~~~
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:470:22: warning: left shift count is negative [-Wshift-count-negative]
Features2 |= 1 << (F - 32); \
^
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:476:5: note: in expansion of macro ‘setFeature’
setFeature(FEATURE_MMX);
^~~~~~~~~~
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:470:22: warning: left shift count is negative [-Wshift-count-negative]
Features2 |= 1 << (F - 32); \
^
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:478:5: note: in expansion of macro ‘setFeature’
setFeature(FEATURE_SSE);
^~~~~~~~~~
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:470:22: warning: left shift count is negative [-Wshift-count-negative]
Features2 |= 1 << (F - 32); \
^
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:480:5: note: in expansion of macro ‘setFeature’
setFeature(FEATURE_SSE2);
^~~~~~~~~~
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm/projects/compiler-rt/lib/builtins/cpu_model.c:470:22: warning: left shift count is negative [-Wshift-count-negative]
Features2 |= 1 << (F - 32); \
^
...
Repository:
rL LLVM
https://reviews.llvm.org/D53461
More information about the llvm-commits
mailing list