Subversion Repositories HelenOS

Rev

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

Rev 4015 Rev 4047
Line 43... Line 43...
43
SUNCC_CFLAGS += $(CMN1)
43
SUNCC_CFLAGS += $(CMN1)
44
 
44
 
45
## Accepted CPUs
45
## Accepted CPUs
46
#
46
#
47
 
47
 
48
ifeq ($(MACHINE),athlon_xp)
48
ifeq ($(PROCESSOR),athlon_xp)
49
	CMN2 = -march=athlon-xp
49
	CMN2 = -march=athlon-xp
50
	SUNCC_CFLAGS += -xarch=ssea
50
	SUNCC_CFLAGS += -xarch=ssea
51
endif
51
endif
52
ifeq ($(MACHINE),athlon_mp)
52
ifeq ($(PROCESSOR),athlon_mp)
53
	CMN2 = -march=athlon-mp
53
	CMN2 = -march=athlon-mp
54
	SUNCC_CFLAGS += xarch=ssea
54
	SUNCC_CFLAGS += xarch=ssea
55
endif
55
endif
56
ifeq ($(MACHINE),pentium3)
56
ifeq ($(PROCESSOR),pentium3)
57
	CMN2 = -march=pentium3
57
	CMN2 = -march=pentium3
58
	SUNCC_CFLAGS += -xarch=sse
58
	SUNCC_CFLAGS += -xarch=sse
59
endif
59
endif
60
ifeq ($(MACHINE),pentium4)
60
ifeq ($(PROCESSOR),pentium4)
61
	CMN2 = -march=pentium4
61
	CMN2 = -march=pentium4
62
	SUNCC_CFLAGS += -xarch=sse2
62
	SUNCC_CFLAGS += -xarch=sse2
63
endif
63
endif
64
ifeq ($(MACHINE),core)
64
ifeq ($(PROCESSOR),core)
65
	CMN2 = -march=prescott
65
	CMN2 = -march=prescott
66
	SUNCC_CFLAGS += -xarch=sse3
66
	SUNCC_CFLAGS += -xarch=sse3
67
endif
67
endif
68
 
68
 
69
FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow
69
FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow