Deleted Added
full compact
kern.mk (217026) kern.mk (217033)
1# $FreeBSD: head/sys/conf/kern.mk 217026 2011-01-05 21:23:26Z dim $
1# $FreeBSD: head/sys/conf/kern.mk 217033 2011-01-05 22:24:33Z dim $
2
3#
4# Warning flags for compiling the kernel and components of the kernel.
5#
6# Note that the newly added -Wcast-qual is responsible for generating
7# most of the remaining warnings. Warnings introduced with -Wall will
8# also pop up, but are easier to fix.
9.if ${CC:T:Micc} == "icc"

--- 18 unchanged lines hidden (view full) ---

28# cache tag lines). Explicitly prohibit the use of SSE and other SIMD
29# operations inside the kernel itself. These operations are exclusively
30# reserved for user applications.
31#
32.if ${MACHINE_CPUARCH} == "i386" && ${CC:T:Micc} != "icc"
33.if ${CC:T:Mclang} != "clang"
34CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2
35.endif
2
3#
4# Warning flags for compiling the kernel and components of the kernel.
5#
6# Note that the newly added -Wcast-qual is responsible for generating
7# most of the remaining warnings. Warnings introduced with -Wall will
8# also pop up, but are easier to fix.
9.if ${CC:T:Micc} == "icc"

--- 18 unchanged lines hidden (view full) ---

28# cache tag lines). Explicitly prohibit the use of SSE and other SIMD
29# operations inside the kernel itself. These operations are exclusively
30# reserved for user applications.
31#
32.if ${MACHINE_CPUARCH} == "i386" && ${CC:T:Micc} != "icc"
33.if ${CC:T:Mclang} != "clang"
34CFLAGS+= -mno-align-long-strings -mpreferred-stack-boundary=2
35.endif
36CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3
36CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
37INLINE_LIMIT?= 8000
38.endif
39
40.if ${MACHINE_CPUARCH} == "arm"
41INLINE_LIMIT?= 8000
42.endif
43#
44# For IA-64, we use r13 for the kernel globals pointer and we only use

--- 77 unchanged lines hidden ---
37INLINE_LIMIT?= 8000
38.endif
39
40.if ${MACHINE_CPUARCH} == "arm"
41INLINE_LIMIT?= 8000
42.endif
43#
44# For IA-64, we use r13 for the kernel globals pointer and we only use

--- 77 unchanged lines hidden ---