Changeset 934b2e0 in mainline for kernel/arch/ia32/Makefile.inc


Ignore:
Timestamp:
2008-06-18T21:24:11Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a4202d
Parents:
18ad03f3
Message:

Don't build the ia32 kernel with MMX/SSE/3DNOW enabled. This was causing
problems with gcc 4.3.1 which generated MMX aided code in a context that
didn't allow this.

File:
1 edited

Legend:

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

    r18ad03f3 r934b2e0  
    4747
    4848ifeq ($(MACHINE),athlon-xp)
    49         CMN2 = -march=athlon-xp -mmmx -msse -m3dnow
     49        CMN2 = -march=athlon-xp -mno-mmx -mno-sse -mno-3dnow
    5050        GCC_CFLAGS += $(CMN2)
    5151        ICC_CFLAGS += $(CMN2)
     
    5656endif
    5757ifeq ($(MACHINE),athlon-mp)
    58         CMN2 = -march=athlon-mp -mmmx -msse -m3dnow
     58        CMN2 = -march=athlon-mp -mno-mmx -mno-sse -mno-3dnow
    5959        GCC_CFLAGS += $(CMN2)
    6060        ICC_CFLAGS += $(CMN2)
     
    6464endif
    6565ifeq ($(MACHINE),pentium3)
    66         CMN2 = -march=pentium3 -mmmx -msse
     66        CMN2 = -march=pentium3 -mno-mmx -mno-sse
    6767        GCC_CFLAGS += $(CMN2)
    6868        ICC_CFLAGS += $(CMN2)
     
    7272endif
    7373ifeq ($(MACHINE),core)
    74         CMN2 = -march=prescott -mfpmath=sse -mmmx -msse -msse2 -msse3
     74        CMN2 = -march=prescott -mno-mmmx -mno-sse -mno-sse2 -mno-sse3
    7575        GCC_CFLAGS += $(CMN2)
    7676        ICC_CFLAGS += $(CMN2)
     
    7979endif
    8080ifeq ($(MACHINE),pentium4)
    81         GCC_CFLAGS += -march=pentium4 -mfpmath=sse -mmmx -msse -msse2
     81        GCC_CFLAGS += -march=pentium4 -mno-mmx -mno-sse -mno-sse2
    8282        ICC_CFLAGS += -march=pentium4
    8383        SUNCC_CFLAGS += -xarch=sse2
Note: See TracChangeset for help on using the changeset viewer.