Rev 2918 | Rev 3425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2918 | Rev 3424 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | 44 | ||
45 | ## Accepted CPUs |
45 | ## Accepted CPUs |
46 | # |
46 | # |
47 | 47 | ||
48 | ifeq ($(MACHINE),athlon-xp) |
48 | ifeq ($(MACHINE),athlon-xp) |
- | 49 | FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow |
|
49 | CMN2 = -march=athlon-xp -mmmx -msse -m3dnow |
50 | CMN2 = -march=athlon-xp |
50 | GCC_CFLAGS += $(CMN2) |
51 | GCC_CFLAGS += $(CMN2) |
51 | ICC_CFLAGS += $(CMN2) |
52 | ICC_CFLAGS += $(CMN2) |
52 | SUNCC_CFLAGS += -xarch=ssea |
53 | SUNCC_CFLAGS += -xarch=ssea |
53 | DEFS += -DCONFIG_FENCES_P3 |
54 | DEFS += -DCONFIG_FENCES_P3 |
54 | CONFIG_SMP = n |
55 | CONFIG_SMP = n |
55 | CONFIG_HT = n |
56 | CONFIG_HT = n |
56 | endif |
57 | endif |
57 | ifeq ($(MACHINE),athlon-mp) |
58 | ifeq ($(MACHINE),athlon-mp) |
- | 59 | FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow |
|
58 | CMN2 = -march=athlon-mp -mmmx -msse -m3dnow |
60 | CMN2 = -march=athlon-mp |
59 | GCC_CFLAGS += $(CMN2) |
61 | GCC_CFLAGS += $(CMN2) |
60 | ICC_CFLAGS += $(CMN2) |
62 | ICC_CFLAGS += $(CMN2) |
61 | SUNCC_CFLAGS += xarch=ssea |
63 | SUNCC_CFLAGS += xarch=ssea |
62 | DEFS += -DCONFIG_FENCES_P3 |
64 | DEFS += -DCONFIG_FENCES_P3 |
63 | CONFIG_HT = n |
65 | CONFIG_HT = n |
64 | endif |
66 | endif |
65 | ifeq ($(MACHINE),pentium3) |
67 | ifeq ($(MACHINE),pentium3) |
- | 68 | FPU_NO_CFLAGS = -mno-mmx -mno-sse |
|
66 | CMN2 = -march=pentium3 -mmmx -msse |
69 | CMN2 = -march=pentium3 |
67 | GCC_CFLAGS += $(CMN2) |
70 | GCC_CFLAGS += $(CMN2) |
68 | ICC_CFLAGS += $(CMN2) |
71 | ICC_CFLAGS += $(CMN2) |
69 | SUNCC_CFLAGS += -xarch=sse |
72 | SUNCC_CFLAGS += -xarch=sse |
70 | DEFS += -DCONFIG_FENCES_P3 |
73 | DEFS += -DCONFIG_FENCES_P3 |
71 | CONFIG_HT = n |
74 | CONFIG_HT = n |
72 | endif |
75 | endif |
73 | ifeq ($(MACHINE),core) |
76 | ifeq ($(MACHINE),core) |
74 | CMN2 = -march=prescott -mfpmath=sse -mmmx -msse -msse2 -msse3 |
77 | FPU_NO_CFLAGS = -mno-mmmx -mno-sse -mno-sse2 -mno-sse3 |
- | 78 | CMN2 = -march=prescott |
|
75 | GCC_CFLAGS += $(CMN2) |
79 | GCC_CFLAGS += $(CMN2) |
76 | ICC_CFLAGS += $(CMN2) |
80 | ICC_CFLAGS += $(CMN2) |
77 | SUNCC_CFLAGS += -xarch=sse3 |
81 | SUNCC_CFLAGS += -xarch=sse3 |
78 | DEFS += -DCONFIG_FENCES_P4 |
82 | DEFS += -DCONFIG_FENCES_P4 |
79 | endif |
83 | endif |
80 | ifeq ($(MACHINE),pentium4) |
84 | ifeq ($(MACHINE),pentium4) |
81 | GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 |
85 | FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 |
- | 86 | GCC_CFLAGS += -march=pentium4 |
|
82 | ICC_CFLAGS += -march=pentium4 |
87 | ICC_CFLAGS += -march=pentium4 |
83 | SUNCC_CFLAGS += -xarch=sse2 |
88 | SUNCC_CFLAGS += -xarch=sse2 |
84 | DEFS += -DCONFIG_FENCES_P4 |
89 | DEFS += -DCONFIG_FENCES_P4 |
85 | endif |
90 | endif |
86 | 91 |