[coreboot-gerrit] New patch to review for coreboot: libpayload: Enable SSE on x86 by default

Patrick Rudolph (siro@das-labor.org) gerrit at coreboot.org
Sun Feb 12 13:04:35 CET 2017


Patrick Rudolph (siro at das-labor.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/18347

-gerrit

commit 3cad8fd714ecc41736b1c4f22b230599aa2b2807
Author: Patrick Rudolph <siro at das-labor.org>
Date:   Sun Feb 12 12:54:42 2017 +0100

    libpayload: Enable SSE on x86 by default
    
    Enable SSE on x86 by default.
    Turns on SSE instructions when present and allows
    to use SSE optimized memcpy.
    
    Change-Id: I8799f356622489f2386241f7a9053e9ac5b0c2d1
    Signed-off-by: Patrick Rudolph <siro at das-labor.org>
---
 payloads/libpayload/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 429bf05..3828928 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -147,6 +147,9 @@ READELF := $(READELF_$(ARCH-y))
 STRIP := $(STRIP_$(ARCH-y))
 AR := $(AR_$(ARCH-y))
 
+# Enable SSE on x86
+CFLAGS_x86_32 += -msse
+
 CFLAGS += $(CFLAGS_$(ARCH-y))
 
 ifneq ($(INNER_SCANBUILD),y)



More information about the coreboot-gerrit mailing list