[PATCH] D22181: Add runtime support for __cpu_model (__builtin_cpu_supports)
Joerg Sonnenberger via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 12:51:05 PDT 2016
joerg added inline comments.
================
Comment at: lib/builtins/cpu_model.c:167
@@ +166,3 @@
+#if defined(__x86_64__)
+ // gcc doesn't know cpuid would clobber ebx/rbx. Preseve it manually.
+ asm("movq\t%%rbx, %%rsi\n\t"
----------------
Typo
https://reviews.llvm.org/D22181
More information about the llvm-commits
mailing list