Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59C6B606A31A for ; Fri, 30 Oct 2026 17:55:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=fS401LJo; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=F1OoXD8C Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMqoX-0005bG-Im; Fri, 30 Oct 2026 13:54:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMqo3-0005U7-52 for qemu-devel@nongnu.org; Fri, 30 Oct 2026 13:54:25 -0400 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xMqo0-0007oJ-LH for qemu-devel@nongnu.org; Fri, 30 Oct 2026 13:54:22 -0400 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69UERnNO1953686 for ; Fri, 30 Oct 2026 17:54:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5/6LQuIKh4sQjftRyWR9OdRPOp7ntI/QvsK+uYDD2eo=; b=fS401LJovKnzc+8N pzz6BW2/hUGBxo5qyKFOJ3stxeKugqGshyyO3VElsQBmoQzAk762NSZPHhDRhgC0 FUDCQUR/qukhAFe/RQ8UkJF7kGl7M+rmHqh9YJNzjAXZ6+Zz1nnEUF1yLGMFiRRk mZmMTFjttLH6Xoc4TnCAZaDo+loRFqZEDAreQ7o6mHrI/oiq8kVhZ/IZCS97K7Z0 1j14a3QgLAX1VciIgmZfo/SEkzm7G91SQ/b/21TLg4TxlElOBpu2TmgDFf+eo6jb H0SlE4SFDuLMn5YsFljqv6px1QHbfEtQbcrPaROMtZW8UEXcJ6Wx9YLFqSqwKavl +N3Vww== Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hme6pmb68-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 30 Oct 2026 17:54:17 +0000 (GMT) Received: by mail-ua1-f71.google.com with SMTP id a1e0cc1a2514c-988be118d98so223686241.0 for ; Fri, 30 Oct 2026 10:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793382856; x=1793987656; darn=nongnu.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=5/6LQuIKh4sQjftRyWR9OdRPOp7ntI/QvsK+uYDD2eo=; b=F1OoXD8CcTj1ku1/zIDL7o3eb1STN0lDxhNx+Rnu9bYiAU+4uUZJtBRnXjGyCCPDeP dtqKxwAfb5VHXHEtiB/ppo+dvb74vMxchdodNc2ZPr5uv80J1qaLww66/HITHwflm5Dq Edqsx71Qa0ZWfeSOxl7tXfar/0QxCb9Jx6C/7FdKZkt1VSjbFM9H1xNFdQrjz463fJNO 0X39BR3wPndOnwNUqTmFfp7vxpRKCVoKPIyp5//ksuk16KzdZek0U8Z1MV7tDbXAZ2Vn EwvDZGdrBAIjvXVfdJ1RiSAuljzrKKgPsnKJYehx50UKbnvqfRDxjNuSn3RF5Slzf64O PDYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793382856; x=1793987656; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=5/6LQuIKh4sQjftRyWR9OdRPOp7ntI/QvsK+uYDD2eo=; b=A7GMN3OMJwar3C2CYa5innD9V3/fp1xtEmIlMOUFtZS++IPAEda8D+yprFGkyvsW6X 2GRpTUnvIXSGI1qqyI1+ybzvMjBI2+lLIas+e9pJcjtzVAoxbJii2indw9M1HZ5TmMj/ obgiUssfnoqOJmJykHfIJ/3I4eoR1xyIAQAalJgPSi/6M6D0EF/pCGNV/Yrl3weKCyF2 rovDhmn3nxFxU1Hl9UXsgYgRiZbrhnQAmEF2g71iBGqmxESK4EwdDmk1HLlygSZCVmqM e/SeZkRTE4aWotTD86fYhVp8XOzCCloClFc3k7Zbqdtvv9wy6YgOIwK4+3clgajCCNdC l6WA== X-Gm-Message-State: AFq9FYKQfx5Y8lNtMHKtaxbY4FzZHz1lNuMVZvh2O5JXvgAc556Xni2K pzRHQf1TpZVcbbeOCNeH3WZZpKK3O1eQvM/AO536Q3NT1omtAF/X8Xa+xY7lMALfZAHCxaKVBw3 1ZkeVYCsGnKIV/fB9To1o/QpqdNgMRPQfkbJjtVw9TKN/X8+2XOJFlNNdcnPclvPdABFc X-Gm-Gg: AYBFou0TKieoJcl2V92FMNxYf7tVngA4J2JQ+DWbDzGBA6AKJ9UyE3cV1sfT/gvRBT2 35xMHS49pVWzcc+HnVQbTSB9VTrS1V+Fqt2N5FNT+IBQsTfe9Dg6wRJYKuMhuicD3IRRom4ggh1 l7mFt3ITBmGw5z+Tfq19o8WIvN4lC4GvANP9YdM5WY/vEQDar5FsvFe5dkKSp8RX9nzvFnt0OBk 06jfMUWGhfp5Z7Vl1NEkmhIHffuU4gaOUdrrLVNOgNIiyV+PCI1Pxg0KZsNtkETh19I128B9Dhz B+0qQaxm6ee4RwJXaj8SZzyNhS0s1VoH9YAnDlKzKGfOh3ebGWI2QcYhG6BbYB88UWxODiPB48z hjUcCD0H0fxsOQsd2nsQuuPW7X/13Hld+EUkpyEZv/DZkhM9o0BGeqvNKE9ZAbeiHfbRqXjYzPH qWDw/hKrnN/cqKL3ZQWaR2Xu05doDUXw== X-Received: by 2002:a67:e706:0:b0:7c3:2f33:54bb with SMTP id ada2fe7eead31-7d072766b47mr1406135137.28.1793382855920; Fri, 30 Oct 2026 10:54:15 -0700 (PDT) X-Received: by 2002:a67:e706:0:b0:7c3:2f33:54bb with SMTP id ada2fe7eead31-7d072766b47mr1406117137.28.1793382855278; Fri, 30 Oct 2026 10:54:15 -0700 (PDT) Received: from localhost.localdomain (82-67-153-177.subs.proxad.net. [82.67.153.177]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48e71a4d3f9sm4789518f8f.4.2026.10.30.10.54.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 30 Oct 2026 10:54:14 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Aleksandar Rikalo , Aurelien Jarno , Jiaxun Yang , Pierrick Bouvier Subject: [PATCH v4 02/32] tests/tcg/mips: Group DSP acc tests Date: Fri, 30 Oct 2026 18:53:24 +0100 Message-ID: <20261030175357.99684-3-philmd@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261030175357.99684-1-philmd@oss.qualcomm.com> References: <20261030175357.99684-1-philmd@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDMwMDA3MSBTYWx0ZWRfX1l/qRUKBkq+8 hPBQlMrb0x2vwFdPFI2HuTmV+q/3YDHS0FH9vj4SnJBKF6wPNVVXKbmgSNIwCQplG5+x2ij2S56 Gcn3Pt5g2YW8iQWbptH+S9R2WeOYu9xF5q6CB6uu+Q8nsUPDHCsh+6lz8i1mD/kSeyZ6UjoqNHr FRnjdn+y6UnuSzGz4RX+0xrDGemjPqdFdX9/iBIfz+eJSINCEaG6hNZw5xoN1DbbQYlw9M2CxHp q03QmuspSdeT+BYIJuvIf8uN2IGrP+IkJ6S2JIwLBt1uYyMh+XG3us2m8lJSOGrJfTIrvvIgRob U1bfecrQcq8f7g+akhteOJHc6pUZewNpZ8CXY2t3ekRgAAV4grktj7yaLrpFK2wzehawQuY384h Dio8pahsVW6HqOR3FczxVP5g2wjz7ksxQVFLr188X7GQ0pszbL+BE44RnIjmy2zIWt/qED1BWZv +NOqhjcHTUQOIxpbwSA== X-Proofpoint-ORIG-GUID: CWDSQsLMMztEBxhJZa_XDAmqZVwM_9wJ X-Proofpoint-GUID: CWDSQsLMMztEBxhJZa_XDAmqZVwM_9wJ X-Authority-Analysis: v=2.4 cv=AJ83otAg c=1 sm=1 tr=0 ts=6ae4d9c9 cx=c_pps a=KB4UBwrhAZV1kjiGHFQexw==:117 a=nz36NW0qrpeEijYxj/H2Ew==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=M51BFTxLslgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=kzXELmrAYARPUxPIdzUA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=o1xkdb1NAhiiM49bd1HK:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMDMwMDA3MSBTYWx0ZWRfXyuFwI5dhFVVk 7Etm9ynng9bnDialEWWCZrl0tsI1tUa5/2KwG6env3sI5yzVtlsf9t7CafNQtlkFCrN6fqOY3Gn IZK5Mfl7bQUdC6g4Te/hQ2U0FzulFho= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-30_05,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610300071 Received-SPF: pass client-ip=205.220.168.131; envelope-from=philmd@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Build the 19 per-opcode acc tests as a single executable, test_dsp_acc.c, to reduce the number of test binaries. Each opcode reports one TAP line. Add test_dsp_runner.h: assert() only counts failures, and RUN_TEST() resets DSPControl and reports each test in TAP. Drop the unused hello-world test. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier --- tests/tcg/mipsel/test_dsp_runner.h | 26 ++++++ tests/tcg/mipsel/test_dsp_acc.c | 109 ++++++++++++++++++++++ tests/tcg/mipsel/test_dsp_r1_extp.c | 1 - tests/tcg/mipsel/test_dsp_r1_extpdp.c | 1 - tests/tcg/mipsel/test_dsp_r1_extpdpv.c | 1 - tests/tcg/mipsel/test_dsp_r1_extpv.c | 1 - tests/tcg/mipsel/test_dsp_r1_extr_r_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_extr_s_h.c | 1 - tests/tcg/mipsel/test_dsp_r1_extr_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c | 1 - tests/tcg/mipsel/test_dsp_r1_extrv_w.c | 1 - tests/tcg/mipsel/test_dsp_r1_main.c | 6 -- tests/tcg/mipsel/test_dsp_r1_mfhi.c | 1 - tests/tcg/mipsel/test_dsp_r1_mflo.c | 1 - tests/tcg/mipsel/test_dsp_r1_mthi.c | 1 - tests/tcg/mipsel/test_dsp_r1_mthlip.c | 1 - tests/tcg/mipsel/test_dsp_r1_mtlo.c | 1 - tests/tcg/mipsel/test_dsp_r1_shilo.c | 1 - tests/tcg/mipsel/test_dsp_r1_shilov.c | 1 - tests/tcg/mipsel/meson.build | 21 +---- 23 files changed, 136 insertions(+), 45 deletions(-) create mode 100644 tests/tcg/mipsel/test_dsp_runner.h create mode 100644 tests/tcg/mipsel/test_dsp_acc.c delete mode 100644 tests/tcg/mipsel/test_dsp_r1_main.c diff --git a/tests/tcg/mipsel/test_dsp_runner.h b/tests/tcg/mipsel/test_dsp_runner.h new file mode 100644 index 000000000000..23ef17428b2e --- /dev/null +++ b/tests/tcg/mipsel/test_dsp_runner.h @@ -0,0 +1,26 @@ +/* + * Helpers to run several DSP ASE tests from the same process: assert() is + * mapped to tap_assert() which only counts failures, and RUN_TEST() reports + * one TAP result per test, after resetting DSPControl. A test calling + * RUN_TEST() must end with "return tap_done();". + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ +#ifndef TEST_DSP_RUNNER_H +#define TEST_DSP_RUNNER_H + +#include "../include/tap.h" + +#undef assert +#define assert(cond) tap_assert(cond) + +#define RUN_TEST(fn) \ + do { \ + int ret_; \ + tap_assert_failures = 0; \ + __asm__ volatile("wrdsp $zero, 0x3f\n\t"); \ + ret_ = fn(); \ + tap_report(!(ret_ || tap_assert_failures), "%s", #fn); \ + } while (0) + +#endif diff --git a/tests/tcg/mipsel/test_dsp_acc.c b/tests/tcg/mipsel/test_dsp_acc.c new file mode 100644 index 000000000000..fe5abb5050b3 --- /dev/null +++ b/tests/tcg/mipsel/test_dsp_acc.c @@ -0,0 +1,109 @@ +/* + * MIPS DSP ASE tests: Accumulator access and Extract instructions + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include "test_dsp_runner.h" + +#define main test_dsp_r1_extp +#include "test_dsp_r1_extp.c" +#undef main + +#define main test_dsp_r1_extpdp +#include "test_dsp_r1_extpdp.c" +#undef main + +#define main test_dsp_r1_extpdpv +#include "test_dsp_r1_extpdpv.c" +#undef main + +#define main test_dsp_r1_extpv +#include "test_dsp_r1_extpv.c" +#undef main + +#define main test_dsp_r1_extr_r_w +#include "test_dsp_r1_extr_r_w.c" +#undef main + +#define main test_dsp_r1_extr_rs_w +#include "test_dsp_r1_extr_rs_w.c" +#undef main + +#define main test_dsp_r1_extr_s_h +#include "test_dsp_r1_extr_s_h.c" +#undef main + +#define main test_dsp_r1_extr_w +#include "test_dsp_r1_extr_w.c" +#undef main + +#define main test_dsp_r1_extrv_r_w +#include "test_dsp_r1_extrv_r_w.c" +#undef main + +#define main test_dsp_r1_extrv_rs_w +#include "test_dsp_r1_extrv_rs_w.c" +#undef main + +#define main test_dsp_r1_extrv_s_h +#include "test_dsp_r1_extrv_s_h.c" +#undef main + +#define main test_dsp_r1_extrv_w +#include "test_dsp_r1_extrv_w.c" +#undef main + +#define main test_dsp_r1_mfhi +#include "test_dsp_r1_mfhi.c" +#undef main + +#define main test_dsp_r1_mflo +#include "test_dsp_r1_mflo.c" +#undef main + +#define main test_dsp_r1_mthi +#include "test_dsp_r1_mthi.c" +#undef main + +#define main test_dsp_r1_mthlip +#include "test_dsp_r1_mthlip.c" +#undef main + +#define main test_dsp_r1_mtlo +#include "test_dsp_r1_mtlo.c" +#undef main + +#define main test_dsp_r1_shilo +#include "test_dsp_r1_shilo.c" +#undef main + +#define main test_dsp_r1_shilov +#include "test_dsp_r1_shilov.c" +#undef main + +int main(void) +{ + TAP_START(); + RUN_TEST(test_dsp_r1_extp); + RUN_TEST(test_dsp_r1_extpdp); + RUN_TEST(test_dsp_r1_extpdpv); + RUN_TEST(test_dsp_r1_extpv); + RUN_TEST(test_dsp_r1_extr_r_w); + RUN_TEST(test_dsp_r1_extr_rs_w); + RUN_TEST(test_dsp_r1_extr_s_h); + RUN_TEST(test_dsp_r1_extr_w); + RUN_TEST(test_dsp_r1_extrv_r_w); + RUN_TEST(test_dsp_r1_extrv_rs_w); + RUN_TEST(test_dsp_r1_extrv_s_h); + RUN_TEST(test_dsp_r1_extrv_w); + RUN_TEST(test_dsp_r1_mfhi); + RUN_TEST(test_dsp_r1_mflo); + RUN_TEST(test_dsp_r1_mthi); + RUN_TEST(test_dsp_r1_mthlip); + RUN_TEST(test_dsp_r1_mtlo); + RUN_TEST(test_dsp_r1_shilo); + RUN_TEST(test_dsp_r1_shilov); + + return tap_done(); +} diff --git a/tests/tcg/mipsel/test_dsp_r1_extp.c b/tests/tcg/mipsel/test_dsp_r1_extp.c index b18bdb34c872..5f9e81f51e97 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extp.c +++ b/tests/tcg/mipsel/test_dsp_r1_extp.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extpdp.c b/tests/tcg/mipsel/test_dsp_r1_extpdp.c index 79ee16e8b87c..6dec2bb31617 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extpdp.c +++ b/tests/tcg/mipsel/test_dsp_r1_extpdp.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extpdpv.c b/tests/tcg/mipsel/test_dsp_r1_extpdpv.c index f5774eed3cae..80c5a7fa3ee8 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extpdpv.c +++ b/tests/tcg/mipsel/test_dsp_r1_extpdpv.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extpv.c b/tests/tcg/mipsel/test_dsp_r1_extpv.c index 401b94afadfc..d575750b7ffd 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extpv.c +++ b/tests/tcg/mipsel/test_dsp_r1_extpv.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extr_r_w.c b/tests/tcg/mipsel/test_dsp_r1_extr_r_w.c index 489c1931b475..d3244b730297 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extr_r_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extr_r_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c b/tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c index f9d2ed646fa3..6e899ccd4c4b 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extr_rs_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extr_s_h.c b/tests/tcg/mipsel/test_dsp_r1_extr_s_h.c index 9bc2a63cc2d1..aa36b4e9f31c 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extr_s_h.c +++ b/tests/tcg/mipsel/test_dsp_r1_extr_s_h.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extr_w.c b/tests/tcg/mipsel/test_dsp_r1_extr_w.c index cf926146d54c..f82e38e34fb7 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extr_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extr_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c b/tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c index 2403b3afe40f..6af471076904 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extrv_r_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c b/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c index 10c182a54b23..9a4f5fac7a59 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extrv_rs_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c b/tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c index feac3e2e334a..d0747331f9ed 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c +++ b/tests/tcg/mipsel/test_dsp_r1_extrv_s_h.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_extrv_w.c b/tests/tcg/mipsel/test_dsp_r1_extrv_w.c index 9e8b238a04d4..b1caee3ff085 100644 --- a/tests/tcg/mipsel/test_dsp_r1_extrv_w.c +++ b/tests/tcg/mipsel/test_dsp_r1_extrv_w.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_main.c b/tests/tcg/mipsel/test_dsp_r1_main.c deleted file mode 100644 index b296b20c9254..000000000000 --- a/tests/tcg/mipsel/test_dsp_r1_main.c +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main() -{ - printf("hello world\n"); -} diff --git a/tests/tcg/mipsel/test_dsp_r1_mfhi.c b/tests/tcg/mipsel/test_dsp_r1_mfhi.c index 43a80669d1ea..5d2233d6eea5 100644 --- a/tests/tcg/mipsel/test_dsp_r1_mfhi.c +++ b/tests/tcg/mipsel/test_dsp_r1_mfhi.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_mflo.c b/tests/tcg/mipsel/test_dsp_r1_mflo.c index caeafdb05ce4..3e4046c57ffe 100644 --- a/tests/tcg/mipsel/test_dsp_r1_mflo.c +++ b/tests/tcg/mipsel/test_dsp_r1_mflo.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_mthi.c b/tests/tcg/mipsel/test_dsp_r1_mthi.c index 43a80669d1ea..5d2233d6eea5 100644 --- a/tests/tcg/mipsel/test_dsp_r1_mthi.c +++ b/tests/tcg/mipsel/test_dsp_r1_mthi.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_mthlip.c b/tests/tcg/mipsel/test_dsp_r1_mthlip.c index 85f94d8450ea..9c96751c8cbe 100644 --- a/tests/tcg/mipsel/test_dsp_r1_mthlip.c +++ b/tests/tcg/mipsel/test_dsp_r1_mthlip.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_mtlo.c b/tests/tcg/mipsel/test_dsp_r1_mtlo.c index caeafdb05ce4..3e4046c57ffe 100644 --- a/tests/tcg/mipsel/test_dsp_r1_mtlo.c +++ b/tests/tcg/mipsel/test_dsp_r1_mtlo.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_shilo.c b/tests/tcg/mipsel/test_dsp_r1_shilo.c index ce8ebc69c2ac..e1b3292c3d42 100644 --- a/tests/tcg/mipsel/test_dsp_r1_shilo.c +++ b/tests/tcg/mipsel/test_dsp_r1_shilo.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/test_dsp_r1_shilov.c b/tests/tcg/mipsel/test_dsp_r1_shilov.c index e1d6cea4b6de..18e3ee1f213e 100644 --- a/tests/tcg/mipsel/test_dsp_r1_shilov.c +++ b/tests/tcg/mipsel/test_dsp_r1_shilov.c @@ -1,5 +1,4 @@ #include -#include int main() { diff --git a/tests/tcg/mipsel/meson.build b/tests/tcg/mipsel/meson.build index c9e869b000f4..77f210a47a70 100644 --- a/tests/tcg/mipsel/meson.build +++ b/tests/tcg/mipsel/meson.build @@ -4,6 +4,7 @@ tests = [] tests += tcg_tests['multiarch-linux-user']['tests'] tests_dsp = [ + 'test_dsp_acc.c', 'test_dsp_r1_absq_s_ph.c', 'test_dsp_r1_absq_s_w.c', 'test_dsp_r1_addq_ph.c', @@ -32,37 +33,19 @@ tests_dsp = [ 'test_dsp_r1_dpsq_sa_l_w.c', 'test_dsp_r1_dpsu_h_qbl.c', 'test_dsp_r1_dpsu_h_qbr.c', - 'test_dsp_r1_extp.c', - 'test_dsp_r1_extpdp.c', - 'test_dsp_r1_extpdpv.c', - 'test_dsp_r1_extpv.c', - 'test_dsp_r1_extr_r_w.c', - 'test_dsp_r1_extr_rs_w.c', - 'test_dsp_r1_extr_s_h.c', - 'test_dsp_r1_extr_w.c', - 'test_dsp_r1_extrv_r_w.c', - 'test_dsp_r1_extrv_rs_w.c', - 'test_dsp_r1_extrv_s_h.c', - 'test_dsp_r1_extrv_w.c', 'test_dsp_r1_insv.c', 'test_dsp_r1_lbux.c', 'test_dsp_r1_lhx.c', 'test_dsp_r1_lwx.c', 'test_dsp_r1_madd.c', 'test_dsp_r1_maddu.c', - 'test_dsp_r1_main.c', 'test_dsp_r1_maq_s_w_phl.c', 'test_dsp_r1_maq_s_w_phr.c', 'test_dsp_r1_maq_sa_w_phl.c', 'test_dsp_r1_maq_sa_w_phr.c', - 'test_dsp_r1_mfhi.c', - 'test_dsp_r1_mflo.c', 'test_dsp_r1_modsub.c', 'test_dsp_r1_msub.c', 'test_dsp_r1_msubu.c', - 'test_dsp_r1_mthi.c', - 'test_dsp_r1_mthlip.c', - 'test_dsp_r1_mtlo.c', 'test_dsp_r1_muleq_s_w_phl.c', 'test_dsp_r1_muleq_s_w_phr.c', 'test_dsp_r1_muleu_s_ph_qbl.c', @@ -93,8 +76,6 @@ tests_dsp = [ 'test_dsp_r1_repl_qb.c', 'test_dsp_r1_replv_ph.c', 'test_dsp_r1_replv_qb.c', - 'test_dsp_r1_shilo.c', - 'test_dsp_r1_shilov.c', 'test_dsp_r1_shll_ph.c', 'test_dsp_r1_shll_qb.c', 'test_dsp_r1_shll_s_ph.c', -- 2.55.0