summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2005-07-15 12:22:14 +0000
committerache <ache@FreeBSD.org>2005-07-15 12:22:14 +0000
commit659d46f587a9288b5fe80abeac35340de3e9812d (patch)
treea8736231f250c5e78f91e49d8c272c4ecebad3ed
parent542973bac5b2980b64cf33e741bd2d2d83669f34 (diff)
downloadFreeBSD-src-659d46f587a9288b5fe80abeac35340de3e9812d.zip
FreeBSD-src-659d46f587a9288b5fe80abeac35340de3e9812d.tar.gz
Add -mno-sse3 for prescott/nocona
-rw-r--r--sys/boot/ficl/Makefile3
-rw-r--r--sys/boot/i386/Makefile.inc2
-rw-r--r--sys/boot/i386/boot2/Makefile2
-rw-r--r--sys/boot/i386/gptboot/Makefile2
4 files changed, 6 insertions, 3 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index 55abdf7..bc5fb52 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -14,6 +14,9 @@ CFLAGS+= -mno-fp-regs -Os
CFLAGS+= -mpreferred-stack-boundary=2
CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
.endif
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -mno-sse3
+.endif
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float
.endif
diff --git a/sys/boot/i386/Makefile.inc b/sys/boot/i386/Makefile.inc
index c3054b0..c1ec3a2 100644
--- a/sys/boot/i386/Makefile.inc
+++ b/sys/boot/i386/Makefile.inc
@@ -6,7 +6,7 @@ BINDIR?= /boot
LOADER_ADDRESS?=0x200000
CFLAGS+= -ffreestanding -mpreferred-stack-boundary=2 \
- -mno-mmx -mno-3dnow -mno-sse -mno-sse2
+ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
LDFLAGS+= -nostdlib
.if ${MACHINE_ARCH} == "amd64"
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index ed0ae93..831e2d0 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -26,7 +26,7 @@ CFLAGS= -Os \
-fno-unit-at-a-time \
-mno-align-long-strings \
-mrtd \
- -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
+ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \
-D${BOOT2_UFS} \
-DFLAGS=${BOOT_BOOT1_FLAGS} \
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index ed0ae93..831e2d0 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -26,7 +26,7 @@ CFLAGS= -Os \
-fno-unit-at-a-time \
-mno-align-long-strings \
-mrtd \
- -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
+ -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 \
-D${BOOT2_UFS} \
-DFLAGS=${BOOT_BOOT1_FLAGS} \
-DSIOPRT=${BOOT_COMCONSOLE_PORT} \
OpenPOWER on IntegriCloud