ARCH_ATHLON macro added
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 14 Sep 2007 13:41:51 +0000 (13:41 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 14 Sep 2007 13:41:51 +0000 (13:41 +0000)
[r15807]

ir/be/ia32/bearch_ia32_t.h

index 8655070..46ca067 100644 (file)
@@ -92,6 +92,9 @@ enum cpu_support {
 /** returns true if it's AMD architecture */
 #define ARCH_AMD(x)         _IN_RANGE((x), arch_k6, arch_opteron)
 
+/** return true if it's a Athlon/Opteron */
+#define ARCH_ATHLON(x)       _IN_RANGE((x), arch_athlon, arch_opteron)
+
 #define IS_P6_ARCH(x)       (_IN_RANGE((x), arch_pentium_pro, arch_core) || \
                              _IN_RANGE((x), arch_athlon, arch_opteron))