diff options
author | Emilio G. Cota | 2018-03-28 19:57:56 +0200 |
---|---|---|
committer | Alex Bennée | 2018-12-17 09:25:25 +0100 |
commit | 25f539f359447cd0dbfd5954aaa3c22b3921af79 (patch) | |
tree | 7b126122e6067cb0464565741f789be8715ea73f /tests/fp/Makefile | |
parent | softfloat: add float{32,64}_is_zero_or_normal (diff) | |
download | qemu-25f539f359447cd0dbfd5954aaa3c22b3921af79.tar.gz qemu-25f539f359447cd0dbfd5954aaa3c22b3921af79.tar.xz qemu-25f539f359447cd0dbfd5954aaa3c22b3921af79.zip |
tests/fp: add fp-bench
These microbenchmarks will allow us to measure the performance impact of
FP emulation optimizations. Note that we can measure both directly the impact
on the softfloat functions (with "-t soft"), or the impact on an
emulated workload (call with "-t host" and run under qemu user-mode).
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/fp/Makefile')
-rw-r--r-- | tests/fp/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fp/Makefile b/tests/fp/Makefile index 49cdcd1bd2..5019dcdca0 100644 --- a/tests/fp/Makefile +++ b/tests/fp/Makefile @@ -553,7 +553,7 @@ TF_OBJS_LIB += $(TF_OBJS_WRITECASE) TF_OBJS_LIB += testLoops_common.o TF_OBJS_LIB += $(TF_OBJS_TEST) -BINARIES := fp-test$(EXESUF) +BINARIES := fp-test$(EXESUF) fp-bench$(EXESUF) # everything depends on config-host.h because platform.h includes it all: $(BUILD_DIR)/config-host.h @@ -590,10 +590,13 @@ $(TF_OBJS_LIB) slowfloat.o: %.o: $(TF_SOURCE_DIR)/%.c libtestfloat.a: $(TF_OBJS_LIB) +fp-bench$(EXESUF): fp-bench.o $(QEMU_SOFTFLOAT_OBJ) $(LIBQEMUUTIL) + clean: rm -f *.o *.d $(BINARIES) rm -f *.gcno *.gcda *.gcov rm -f fp-test$(EXESUF) + rm -f fp-bench$(EXESUF) rm -f libsoftfloat.a rm -f libtestfloat.a |