Ignore:
File:
1 edited

Legend:

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

    r95e370f8 r1f5c9c96  
    3030BFD_ARCH = i386
    3131BFD = binary
     32CLANG_ARCH = i386
    3233
    3334BITS = 32
     
    3738GCC_CFLAGS += $(CMN1)
    3839ICC_CFLAGS += $(CMN1)
     40SUNCC_CFLAGS += $(CMN1)
    3941CLANG_CFLAGS += $(CMN1)
    4042
     
    4850ifeq ($(PROCESSOR),athlon_xp)
    4951        CMN2 = -march=athlon-xp
     52        SUNCC_CFLAGS += -xarch=ssea
    5053endif
    5154
    5255ifeq ($(PROCESSOR),athlon_mp)
    5356        CMN2 = -march=athlon-mp
     57        SUNCC_CFLAGS += xarch=ssea
    5458endif
    5559
    5660ifeq ($(PROCESSOR),pentium3)
    5761        CMN2 = -march=pentium3
     62        SUNCC_CFLAGS += -xarch=sse
    5863endif
    5964
    6065ifeq ($(PROCESSOR),pentium4)
    6166        CMN2 = -march=pentium4
     67        SUNCC_CFLAGS += -xarch=sse2
    6268endif
    6369
    6470ifeq ($(PROCESSOR),core)
    6571        CMN2 = -march=prescott
     72        SUNCC_CFLAGS += -xarch=sse3
    6673endif
    6774
     
    9299        arch/$(KARCH)/src/userspace.c \
    93100        arch/$(KARCH)/src/cpu/cpu.c \
    94         arch/$(KARCH)/src/mm/km.c \
    95101        arch/$(KARCH)/src/mm/as.c \
    96102        arch/$(KARCH)/src/mm/frame.c \
     
    104110        arch/$(KARCH)/src/boot/memmap.c \
    105111        arch/$(KARCH)/src/fpu_context.c \
     112        arch/$(KARCH)/src/debugger.c \
    106113        arch/$(KARCH)/src/syscall.c
Note: See TracChangeset for help on using the changeset viewer.