Improve performance of bitscanning intrinsics

This change helps spectre more intelligently plan execution, by working
around false output dependencies, impacting ops like popcnt bsr and bsf
This commit is contained in:
Justine Tunney 2021-06-15 06:24:46 -07:00
parent 29cb53881e
commit 87d7010495
13 changed files with 100 additions and 224 deletions

View file

@ -13,11 +13,13 @@ LIBC_TESTLIB_A = o/$(MODE)/libc/testlib/testlib.a
LIBC_TESTLIB_A_CHECKS = $(LIBC_TESTLIB_A).pkg
LIBC_TESTLIB_A_ASSETS = \
libc/testlib/hyperion.txt
libc/testlib/hyperion.txt \
libc/testlib/blocktronics.txt
LIBC_TESTLIB_A_HDRS = \
libc/testlib/bench.h \
libc/testlib/ezbench.h \
libc/testlib/blocktronics.h \
libc/testlib/hyperion.h \
libc/testlib/testlib.h
@ -25,6 +27,7 @@ LIBC_TESTLIB_A_SRCS_S = \
libc/testlib/bench.S \
libc/testlib/combo.S \
libc/testlib/fixture.S \
libc/testlib/blocktronics.S \
libc/testlib/hyperion.S \
libc/testlib/testcase.S \
libc/testlib/thrashcodecache.S \