From: Michael Beck Date: Fri, 14 Sep 2007 13:41:51 +0000 (+0000) Subject: ARCH_ATHLON macro added X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3af00d1337ea586d1e7e1803f85c90b3337b6742;p=libfirm ARCH_ATHLON macro added [r15807] --- 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))