From 3af00d1337ea586d1e7e1803f85c90b3337b6742 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 14 Sep 2007 13:41:51 +0000 Subject: [PATCH] ARCH_ATHLON macro added [r15807] --- ir/be/ia32/bearch_ia32_t.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ir/be/ia32/bearch_ia32_t.h b/ir/be/ia32/bearch_ia32_t.h index 865507014..46ca067c1 100644 --- a/ir/be/ia32/bearch_ia32_t.h +++ b/ir/be/ia32/bearch_ia32_t.h @@ -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)) -- 2.20.1