Subversion Repositories HelenOS

Rev

Rev 2774 | Rev 3179 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2774 Rev 3173
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
	CMN2 = -march=athlon-xp -mmmx -msse -m3dnow
49
	CMN2 = -march=athlon-xp -mno-mmx -mno-sse -mno-3dnow
50
	GCC_CFLAGS += $(CMN2)
50
	GCC_CFLAGS += $(CMN2)
51
	ICC_CFLAGS += $(CMN2)
51
	ICC_CFLAGS += $(CMN2)
52
	SUNCC_CFLAGS += -xarch=ssea
52
	SUNCC_CFLAGS += -xarch=ssea
53
	DEFS += -DCONFIG_FENCES_P3
53
	DEFS += -DCONFIG_FENCES_P3
54
	CONFIG_SMP = n
54
	CONFIG_SMP = n
55
	CONFIG_HT = n
55
	CONFIG_HT = n
56
endif
56
endif
57
ifeq ($(MACHINE),athlon-mp)
57
ifeq ($(MACHINE),athlon-mp)
58
	CMN2 = -march=athlon-mp -mmmx -msse -m3dnow
58
	CMN2 = -march=athlon-mp -mno-mmx -mno-sse -mno-3dnow
59
	GCC_CFLAGS += $(CMN2)
59
	GCC_CFLAGS += $(CMN2)
60
	ICC_CFLAGS += $(CMN2)
60
	ICC_CFLAGS += $(CMN2)
61
	SUNCC_CFLAGS += xarch=ssea
61
	SUNCC_CFLAGS += xarch=ssea
62
	DEFS += -DCONFIG_FENCES_P3
62
	DEFS += -DCONFIG_FENCES_P3
63
	CONFIG_HT = n
63
	CONFIG_HT = n
64
endif
64
endif
65
ifeq ($(MACHINE),pentium3)
65
ifeq ($(MACHINE),pentium3)
66
	CMN2 = -march=pentium3 -mmmx -msse
66
	CMN2 = -march=pentium3 -mno-mmx -mno-sse
67
	GCC_CFLAGS += $(CMN2)
67
	GCC_CFLAGS += $(CMN2)
68
	ICC_CFLAGS += $(CMN2)
68
	ICC_CFLAGS += $(CMN2)
69
	SUNCC_CFLAGS += -xarch=sse
69
	SUNCC_CFLAGS += -xarch=sse
70
	DEFS += -DCONFIG_FENCES_P3
70
	DEFS += -DCONFIG_FENCES_P3
71
	CONFIG_HT = n
71
	CONFIG_HT = n
72
endif
72
endif
73
ifeq ($(MACHINE),core)
73
ifeq ($(MACHINE),core)
74
	CMN2 = -march=prescott -mfpmath=sse -mmmx -msse -msse2 -msse3
74
	CMN2 = -march=prescott -mno-mmmx -mno-sse -mno-sse2 -mno-sse3
75
	GCC_CFLAGS += $(CMN2)
75
	GCC_CFLAGS += $(CMN2)
76
	ICC_CFLAGS += $(CMN2)
76
	ICC_CFLAGS += $(CMN2)
77
	SUNCC_CFLAGS += -xarch=sse3
77
	SUNCC_CFLAGS += -xarch=sse3
78
	DEFS += -DCONFIG_FENCES_P4
78
	DEFS += -DCONFIG_FENCES_P4
79
endif
79
endif
80
ifeq ($(MACHINE),pentium4)
80
ifeq ($(MACHINE),pentium4)
81
	GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
81
	GCC_CFLAGS += -march=pentium4 -mno-mmx -mno-sse -mno-sse2
82
	ICC_CFLAGS += -march=pentium4
82
	ICC_CFLAGS += -march=pentium4
83
	SUNCC_CFLAGS += -xarch=sse2
83
	SUNCC_CFLAGS += -xarch=sse2
84
	DEFS += -DCONFIG_FENCES_P4
84
	DEFS += -DCONFIG_FENCES_P4
85
endif
85
endif
86
 
86