Lines Matching refs:__cpu_model
1 //===-- cpu_model.c - Support for __cpu_model builtin ------------*- C -*-===//
11 // __cpu_model for the compiler_rt library, for x86 only.
625 } __cpu_model = {0, 0, 0, {0}};
632 // A constructor function that is sets __cpu_model and __cpu_features2 with
647 if (__cpu_model.__cpu_vendor)
655 __cpu_model.__cpu_vendor = VENDOR_OTHER;
664 __cpu_model.__cpu_features[0] = Features;
670 Features2, &(__cpu_model.__cpu_type),
671 &(__cpu_model.__cpu_subtype));
672 __cpu_model.__cpu_vendor = VENDOR_INTEL;
676 &(__cpu_model.__cpu_type),
677 &(__cpu_model.__cpu_subtype));
678 __cpu_model.__cpu_vendor = VENDOR_AMD;
680 __cpu_model.__cpu_vendor = VENDOR_OTHER;
682 assert(__cpu_model.__cpu_vendor < VENDOR_MAX);
683 assert(__cpu_model.__cpu_type < CPU_TYPE_MAX);
684 assert(__cpu_model.__cpu_subtype < CPU_SUBTYPE_MAX);