From patchwork Wed May 12 10:20:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 435486 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp4695908jao; Wed, 12 May 2021 03:34:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLyKJL+EJ2WEIra2FQpmwhzmxz8RK20p4RxnNZf/12FLgItKd1foJHQKm+cAu541FMKj+S X-Received: by 2002:a67:d11d:: with SMTP id u29mr31405944vsi.53.1620815679288; Wed, 12 May 2021 03:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620815679; cv=none; d=google.com; s=arc-20160816; b=K5KxLTUIVQ9MN5T8e9azpjiQPciX6g9XT1EulHXrCRKU30jyIM2bmBMgfC1GIVyeGW rmxKrGTp2RbyKslEszHuqQQz5UnkvEcI7UR7kNsNULP2/Aj7Zx/e8MTBFR18hPMazz4t oED2jg0ns7y6OACDn0CJv/M6uzk3rusEHyOoKyCAn8WfH/TBY1mpMW0p8NA8BvJ5q76+ n7IVBBHFOAGEDavDGJ1UDAF0eoGeGADYsUUrTinmQUvMOOdqrblQK+sVga+YgQ8ZwxmB UpSTtzcj3sJ5DmF0GWBlcziuNMI55oRBOpnegJyrN1PjU9ls4sNnZEjzGg0cyk2EfyUG +pEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=fPkUtUsZBhQTOVdElvOgFTSd49w6hL06WN6K1JOPhLM=; b=blAIRM8MmRRxDcLPvDvgMc7EfySwlv63I51JbfO9/rLZ4rORXYnp4mq6frEMje2kbi Jz3bspH5ua/h/EuHxgtRAuYQ2gAI6t0M7thgV+Ly/3XKHomwq7VSSlR3Iomb2S9Fk/5C SUTjlo/vkfn3jLXYwlp7BAtbM5ZSdV9jIFhhrYWVSoNthOkG1KYy+W7A32yNrSgxuSTV DXhFrnkmsZrCsLGML579ZmZ1afLFnUMm3XAc0JuALbaPxvcJbrktstfl0X/okyMF97sj VIqEjaqH/Igdq3mCyD9vZGmudDEBE73kNlofggEe5ksvWrpU9mTy9wIh3scarLBWROq9 DSZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=oNuhZdhI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n76si3957516vkc.9.2021.05.12.03.34.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 May 2021 03:34:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=oNuhZdhI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:36666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgmCM-0004ug-MY for patch@linaro.org; Wed, 12 May 2021 06:34:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgm8Q-0000U2-T2 for qemu-devel@nongnu.org; Wed, 12 May 2021 06:30:36 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:41514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgm8I-0000Xu-MT for qemu-devel@nongnu.org; Wed, 12 May 2021 06:30:34 -0400 Received: by mail-wr1-x42b.google.com with SMTP id d11so23063857wrw.8 for ; Wed, 12 May 2021 03:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fPkUtUsZBhQTOVdElvOgFTSd49w6hL06WN6K1JOPhLM=; b=oNuhZdhIZzr3N5P14snybucE4+WV6IK5apAeIzjPTQZIZUKSQ/rpqz9hApnOWAxtbN xpsGptUiAblJuAqHQPVoi0VHpUATg3Dlousy/RY2kYRou4oG/Va0xqLJXXHYlTcjjbZ0 u1cSUk47FRW8Dcli7WjxAzmRYkcRHy1rihuq+qNJRlUVitD9PqKXGOpXCeGK5yNywVs1 19gZtqemKSsneFLxrVoEX8XZp0+FART/pTttVYNHdlRVgEjweDMhm7arKQzClx6YI3PE 1tGP9cvQYjkM7r7PEyZf/Mn6+Ep5o2Sf9DJZH75i9gmsuAfMQamrn9JjhrAiI8YDuSCt YB7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fPkUtUsZBhQTOVdElvOgFTSd49w6hL06WN6K1JOPhLM=; b=IjG26r1x5OonGU6gXIOGajzljLc7ELSGkEPoBnq4n9FeCl0Lu4/Lxtzp3VxxL3Y6xk SrgxtvvbAqNEmQe7KRTFiO1VMC5MrvrNMF6o0ueNZwq1qkzrYqHBzJJ5QY0tvALPc9Lu yneFhhhqU+hd1eWVzRqGdRtF4VM4MfdaBSeJ8Vsi1pdnocjaWujD7sVBsDUAKqjzZ5vF Ptbj9g0XnqRcoIW4pZ33PFRKyOyrW7QKN45KXf7ffL3el/cDuiCx0Q5K4YPQbeZ0FX7c aPJU66aCFEwrS9k36clFn5mmQgeFXIAYhkUzjSDVApxLGAGf4ilteAMqpuJ0fQKGYsmv siIQ== X-Gm-Message-State: AOAM533pyeH+HxhDPo95rxl4VtPiQ2cIbzppLLRcwG2YVkaa+d4lY3hb rqwt0WpP0i8yyAeNc9Lb/b3kkQ== X-Received: by 2002:adf:f78d:: with SMTP id q13mr9452921wrp.405.1620815423845; Wed, 12 May 2021 03:30:23 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f1sm3377088wrr.63.2021.05.12.03.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 03:30:22 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 946331FFAF; Wed, 12 May 2021 11:20:53 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 24/31] tests/tcg/tricore: Add msub test Date: Wed, 12 May 2021 11:20:44 +0100 Message-Id: <20210512102051.12134-25-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210512102051.12134-1-alex.bennee@linaro.org> References: <20210512102051.12134-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, Bastian Koppelmann , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Bastian Koppelmann Tested-by: Alex Bennée Signed-off-by: Bastian Koppelmann Signed-off-by: Alex Bennée Message-Id: <20210305170045.869437-15-kbastian@mail.uni-paderborn.de> --- tests/tcg/tricore/Makefile.softmmu-target | 1 + tests/tcg/tricore/test_msub.S | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/tcg/tricore/test_msub.S -- 2.20.1 diff --git a/tests/tcg/tricore/Makefile.softmmu-target b/tests/tcg/tricore/Makefile.softmmu-target index 8de005523e..0fe6a86482 100644 --- a/tests/tcg/tricore/Makefile.softmmu-target +++ b/tests/tcg/tricore/Makefile.softmmu-target @@ -11,6 +11,7 @@ TESTS += test_fadd.tst TESTS += test_fmul.tst TESTS += test_ftoi.tst TESTS += test_madd.tst +TESTS += test_msub.tst QEMU_OPTS += -M tricore_testboard -nographic -kernel diff --git a/tests/tcg/tricore/test_msub.S b/tests/tcg/tricore/test_msub.S new file mode 100644 index 0000000000..6dee87d99c --- /dev/null +++ b/tests/tcg/tricore/test_msub.S @@ -0,0 +1,9 @@ +#include "macros.h" +.text +.global _start +_start: + TEST_D_DDI_PSW(msub, 1, 0xd2fbe5e0, 0x00000b80,0x64003300, 0xff5420d4, -216) + TEST_D_DDI_PSW(msub, 2, 0xfffffc10, 0x00000b80,0xfffffe68, 0xfffffffd, -200) + TEST_D_DDD_PSW(msubs.u, 3, 0x0, 0x60000b80, 0x1, 0xffffffff, 0xffffffdb) + TEST_PASSFAIL +