Changeset ff50f40 in mainline for kernel/arch/ia32/Makefile.inc


Ignore:
Timestamp:
2009-01-18T20:35:22Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b1747a5
Parents:
d4668392
Message:

simplify compile options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/Makefile.inc

    rd4668392 rff50f40  
    5151
    5252ifeq ($(MACHINE),athlon-xp)
    53         FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow
    5453        CMN2 = -march=athlon-xp
    55         GCC_CFLAGS += $(CMN2)
    56         ICC_CFLAGS += $(CMN2)
    5754        SUNCC_CFLAGS += -xarch=ssea
    5855        DEFS += -DCONFIG_FENCES_P3
     
    6158endif
    6259ifeq ($(MACHINE),athlon-mp)
    63         FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-3dnow
    6460        CMN2 = -march=athlon-mp
    65         GCC_CFLAGS += $(CMN2)
    66         ICC_CFLAGS += $(CMN2)
    6761        SUNCC_CFLAGS += xarch=ssea
    6862        DEFS += -DCONFIG_FENCES_P3
     
    7064endif
    7165ifeq ($(MACHINE),pentium3)
    72         FPU_NO_CFLAGS = -mno-mmx -mno-sse
    7366        CMN2 = -march=pentium3
    74         GCC_CFLAGS += $(CMN2)
    75         ICC_CFLAGS += $(CMN2)
    7667        SUNCC_CFLAGS += -xarch=sse
    7768        DEFS += -DCONFIG_FENCES_P3
    7869        CONFIG_HT = n
    7970endif
     71ifeq ($(MACHINE),pentium4)
     72        CMN2 = -march=pentium4
     73        SUNCC_CFLAGS += -xarch=sse2
     74        DEFS += -DCONFIG_FENCES_P4
     75endif
    8076ifeq ($(MACHINE),core)
    81         FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3
    8277        CMN2 = -march=prescott
    83         GCC_CFLAGS += $(CMN2)
    84         ICC_CFLAGS += $(CMN2)
    8578        SUNCC_CFLAGS += -xarch=sse3
    8679        DEFS += -DCONFIG_FENCES_P4
    8780endif
    88 ifeq ($(MACHINE),pentium4)
    89         FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2
    90         GCC_CFLAGS += -march=pentium4
    91         ICC_CFLAGS += -march=pentium4
    92         SUNCC_CFLAGS += -xarch=sse2
    93         DEFS += -DCONFIG_FENCES_P4
    94 endif
     81
     82FPU_NO_CFLAGS = -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow
     83GCC_CFLAGS += $(CMN2)
     84ICC_CFLAGS += $(CMN2)
    9585
    9686## Own configuration directives
Note: See TracChangeset for help on using the changeset viewer.