klibc-bot for H. Peter Anvin
2014-Apr-15 20:33 UTC
[klibc] [klibc:master] x86-64: disable the use of SSE
Commit-ID: 6eb77ce795189d39fc0f7bc12eb8d7be11e46718 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=6eb77ce795189d39fc0f7bc12eb8d7be11e46718 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Tue, 15 Apr 2014 13:29:30 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 15 Apr 2014 13:29:30 -0700 [klibc] x86-64: disable the use of SSE Disable the use of SSE registers. This reduces the size of the code because it means the varadic functions don't need to marshall parameters in the SSE registers. Since klibc doesn't support floating point, this is a significant size win. Signed-off-by: H. Peter Anvin <hpa at linux.intel.com> --- usr/klibc/arch/x86_64/MCONFIG | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr/klibc/arch/x86_64/MCONFIG b/usr/klibc/arch/x86_64/MCONFIG index d4ff5ea..4b1a33a 100644 --- a/usr/klibc/arch/x86_64/MCONFIG +++ b/usr/klibc/arch/x86_64/MCONFIG @@ -15,12 +15,12 @@ # debugging using gdb. # KLIBCARCHREQFLAGS = -m64 -ifeq ($(DEBUG),y) -KLIBCOPTFLAGS += -g -Os -fomit-frame-pointer \ +KLIBCOPTFLAGS += -Os -fomit-frame-pointer -mno-sse \ -falign-functions=1 -falign-jumps=1 -falign-loops=1 +ifeq ($(DEBUG),y) +KLIBCOPTFLAGS += -g else -KLIBCOPTFLAGS += -Os -fno-asynchronous-unwind-tables -fomit-frame-pointer \ - -falign-functions=1 -falign-jumps=1 -falign-loops=1 +KLIBCOPTFLAGS += -fno-asynchronous-unwind-tables endif KLIBCBITSIZE = 64 KLIBCLDFLAGS = -m elf_x86_64
Possibly Parallel Threads
- [PATCH v2 1/5] Kbuild: add support for clang builds
- [PATCH v2 1/5] Kbuild: add support for clang builds
- [kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds
- [klibc:master] Kbuild: add support for clang builds
- [PATCH v2 3/5] Kbuild: use "libc.a" with clang