[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 10/14] Hexagon (tests/tcg/hexagon) Enable HVX tests
From: |
Taylor Simpson |
Subject: |
[PATCH v6 10/14] Hexagon (tests/tcg/hexagon) Enable HVX tests |
Date: |
Mon, 6 Mar 2023 18:58:24 -0800 |
Made possible by new toolchain container
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Anton Johansson <anjo@rev.ng>
---
tests/tcg/hexagon/Makefile.target | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/tests/tcg/hexagon/Makefile.target
b/tests/tcg/hexagon/Makefile.target
index 18e6a5969e..0d82dfa76e 100644
--- a/tests/tcg/hexagon/Makefile.target
+++ b/tests/tcg/hexagon/Makefile.target
@@ -1,5 +1,5 @@
##
-## Copyright(c) 2019-2022 Qualcomm Innovation Center, Inc. All Rights
Reserved.
+## Copyright(c) 2019-2023 Qualcomm Innovation Center, Inc. All Rights
Reserved.
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -45,6 +45,10 @@ HEX_TESTS += fpstuff
HEX_TESTS += overflow
HEX_TESTS += signal_context
HEX_TESTS += reg_mut
+HEX_TESTS += vector_add_int
+HEX_TESTS += scatter_gather
+HEX_TESTS += hvx_misc
+HEX_TESTS += hvx_histogram
HEX_TESTS += test_abs
HEX_TESTS += test_bitcnt
@@ -78,3 +82,10 @@ TESTS += $(HEX_TESTS)
usr: usr.c
$(CC) $(CFLAGS) -mv67t -O2 -Wno-inline-asm -Wno-expansion-to-defined $<
-o $@ $(LDFLAGS)
+scatter_gather: CFLAGS += -mhvx
+vector_add_int: CFLAGS += -mhvx -fvectorize
+hvx_misc: CFLAGS += -mhvx
+hvx_histogram: CFLAGS += -mhvx -Wno-gnu-folding-constant
+
+hvx_histogram: hvx_histogram.c hvx_histogram_row.S
+ $(CC) $(CFLAGS) $(CROSS_CC_GUEST_CFLAGS) $^ -o $@ $(LDFLAGS)
--
2.25.1
- Re: [PATCH v6 01/14] Hexagon (target/hexagon) Add overrides for jumpr31 instructions, (continued)
- [PATCH v6 07/14] Hexagon (target/hexagon) Analyze packet for HVX, Taylor Simpson, 2023/03/06
- [PATCH v6 11/14] Hexagon (target/hexagon) Change subtract from zero to change sign, Taylor Simpson, 2023/03/06
- [PATCH v6 09/14] Hexagon (tests/tcg/hexagon) Remove __builtin from scatter_gather, Taylor Simpson, 2023/03/06
- [PATCH v6 13/14] Hexagon (target/hexagon) Reduce manipulation of slot_cancelled, Taylor Simpson, 2023/03/06
- [PATCH v6 02/14] Hexagon (target/hexagon) Add overrides for callr, Taylor Simpson, 2023/03/06
- [PATCH v6 05/14] Hexagon (target/hexagon) Analyze packet before generating TCG, Taylor Simpson, 2023/03/06
- [PATCH v6 06/14] Hexagon (target/hexagon) Don't set pkt_has_store_s1 when not needed, Taylor Simpson, 2023/03/06
- [PATCH v6 08/14] Hexagon (tests/tcg/hexagon) Update preg_alias.c, Taylor Simpson, 2023/03/06
- [PATCH v6 12/14] Hexagon (target/hexagon) Remove gen_log_predicated_reg_write[_pair], Taylor Simpson, 2023/03/06
- [PATCH v6 10/14] Hexagon (tests/tcg/hexagon) Enable HVX tests,
Taylor Simpson <=
- [PATCH v6 14/14] Hexagon (target/hexagon) Improve code gen for predicated HVX instructions, Taylor Simpson, 2023/03/06