diff options
author | Subrata Banik <subrata.banik@intel.com> | 2019-11-18 17:57:01 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-11-19 19:30:36 +0000 |
commit | 7dedd9a88847a7b10ecb75e7c3fd0b28c3f86609 (patch) | |
tree | 42f8ec8704ba7e36c14bb832105a5abfb22873e7 | |
parent | 1c4dbaa08419e13366db32ed20244f63c34388a0 (diff) | |
download | vboot-7dedd9a88847a7b10ecb75e7c3fd0b28c3f86609.tar.gz |
Makefile: Define UNROLL_LOOPS to save ~50ms of boot timefactory-hatch-12692.B
TEST=Able to save ~50ms of bootime with this CL
Without this CL
1100:finished vboot kernel verification 802,443 (148,108)
With this CL
1100:finished vboot kernel verification 775,914 (102,601)
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Change-Id: I96bea22667ebf45b446a26d84de96e52f3d28aa0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1919094
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -854,7 +854,7 @@ ${TLCL_OBJS}: CFLAGS += -DTPM_BLOCKING_CONTINUESELFTEST # CFLAGS += -DTPM_MANUAL_SELFTEST -ifeq (${FIRMWARE_ARCH},i386) +ifneq ($(filter $(FIRMWARE_ARCH),x86 x86_64),) # Unrolling loops in cryptolib makes it faster ${FWLIB_OBJS}: CFLAGS += -DUNROLL_LOOPS ${FWLIB2X_OBJS}: CFLAGS += -DUNROLL_LOOPS |