[PATCH] D21033: Add runtime support for __cpu_model (__builtin_cpu_supports)

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 15:53:54 PDT 2016


asbirlea added a comment.

If I understand correctly, your suggestion is having correct behavior
for __builtin_cpu_supports
(i.e. setting the flags) and undefined behavior (or return 0 /  always
generic) for __builtin_cpu_is (i.e. not setting cpu type and subtype),
because of the lack of uses for the latter, code bloat, hardship to
maintain/add new CPU generations. Is this right?


http://reviews.llvm.org/D21033





More information about the llvm-commits mailing list