Rev 2459 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2459 | Rev 2460 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | BFD = binary |
34 | BFD = binary |
35 | TARGET = i686-pc-linux-gnu |
35 | TARGET = i686-pc-linux-gnu |
36 | TOOLCHAIN_DIR = /usr/local/i686 |
36 | TOOLCHAIN_DIR = /usr/local/i686 |
37 | 37 | ||
38 | DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__ |
38 | DEFS += -DMACHINE=$(MACHINE) -D__32_BITS__ |
- | 39 | ||
- | 40 | CMN1 = -m32 |
|
- | 41 | GCC_CFLAGS += $(CMN1) |
|
- | 42 | ICC_CFLAGS += $(CMN1) |
|
39 | SUNCC_CFLAGS += -m32 |
43 | SUNCC_CFLAGS += $(CMN1) |
40 | 44 | ||
41 | ## Accepted CPUs |
45 | ## Accepted CPUs |
42 | # |
46 | # |
43 | 47 | ||
44 | ifeq ($(MACHINE),athlon-xp) |
48 | ifeq ($(MACHINE),athlon-xp) |
45 | GCC_CFLAGS += -march=athlon-xp -mmmx -msse -m3dnow |
49 | CMN2 = -march=athlon-xp -mmmx -msse -m3dnow |
- | 50 | GCC_CFLAGS += $(CMN2) |
|
- | 51 | ICC_CFLAGS += $(CMN2) |
|
- | 52 | SUNCC_CFLAGS += -xarch=ssea |
|
46 | DEFS += -DCONFIG_FENCES_P3 |
53 | DEFS += -DCONFIG_FENCES_P3 |
47 | CONFIG_SMP = n |
54 | CONFIG_SMP = n |
48 | CONFIG_HT = n |
55 | CONFIG_HT = n |
49 | endif |
56 | endif |
50 | ifeq ($(MACHINE),athlon-mp) |
57 | ifeq ($(MACHINE),athlon-mp) |
51 | GCC_CFLAGS += -march=athlon-mp -mmmx -msse -m3dnow |
58 | CMN2 = -march=athlon-mp -mmmx -msse -m3dnow |
- | 59 | GCC_CFLAGS += $(CMN2) |
|
- | 60 | ICC_CFLAGS += $(CMN2) |
|
- | 61 | SUNCC_CFLAGS += xarch=ssea |
|
52 | DEFS += -DCONFIG_FENCES_P3 |
62 | DEFS += -DCONFIG_FENCES_P3 |
53 | CONFIG_HT = n |
63 | CONFIG_HT = n |
54 | endif |
64 | endif |
55 | ifeq ($(MACHINE),pentium3) |
65 | ifeq ($(MACHINE),pentium3) |
56 | GCC_CFLAGS += -march=pentium3 -mmmx -msse |
66 | CMN2 = -march=pentium3 -mmmx -msse |
- | 67 | GCC_CFLAGS += $(CMN2) |
|
- | 68 | ICC_CFLAGS += $(CMN2) |
|
- | 69 | SUNCC_CFLAGS += -xarch=sse |
|
57 | DEFS += -DCONFIG_FENCES_P3 |
70 | DEFS += -DCONFIG_FENCES_P3 |
58 | CONFIG_HT = n |
71 | CONFIG_HT = n |
59 | endif |
72 | endif |
60 | ifeq ($(MACHINE),prescott) |
73 | ifeq ($(MACHINE),prescott) |
61 | GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3 |
74 | CMN2 = -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -msse3 |
- | 75 | GCC_CFLAGS += $(CMN2) |
|
- | 76 | ICC_CFLAGS += $(CMN2) |
|
- | 77 | SUNCC_CFLAGS += -xarch=sse3 |
|
62 | DEFS += -DCONFIG_FENCES_P4 |
78 | DEFS += -DCONFIG_FENCES_P4 |
63 | endif |
79 | endif |
64 | ifeq ($(MACHINE),pentium4) |
80 | ifeq ($(MACHINE),pentium4) |
65 | ifeq ($(COMPILER),icc_native) |
81 | GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 |
66 | GCC_CFLAGS += -march=pentium4 |
82 | ICC_CFLAGS += -march=pentium4 |
67 | else |
- | |
68 | GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 |
83 | SUNCC_CFLAGS += -xarch=sse2 |
69 | endif |
- | |
70 | DEFS += -DCONFIG_FENCES_P4 |
84 | DEFS += -DCONFIG_FENCES_P4 |
71 | endif |
85 | endif |
72 | 86 | ||
73 | ## Own configuration directives |
87 | ## Own configuration directives |
74 | # |
88 | # |