From patchwork Tue May 4 10:02:18 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: 430858 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp3653739jao; Tue, 4 May 2021 03:20:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDERXOyRDOLnZr4LKKkui3fB986mwiommZKiQ1jhS1y03QdWB+oW/SDGU0Cd+wBMEPFLPj X-Received: by 2002:a05:6102:b15:: with SMTP id b21mr19031162vst.50.1620123648949; Tue, 04 May 2021 03:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620123648; cv=none; d=google.com; s=arc-20160816; b=iOp81DSUPuKHrgB9VoYwvF+B8wgO4GP3VF7oBPx/Yb4sSU1xBBq31OqI7yXGMRtYJY gVNyWW1wcdpwes3+Ale4FYuolmAsxOkxjb0PdanJV+NsS5KuoTYLF+O5DW+unvOCPXYL 4yUZdvCtYRFuqsYtpaKSFAxmi1FQjey6d7ujLZMY5EgjMPt66FPAvdJslaIh1sd3JVkg VrTRUoz5sCtdwWrgyR4sE0qEg7SLkYejoFPwF49+IE11MrSWF4iMtU7Eph0vZSDEWQ3W lqREA0lVuToLYQTYqjqH97/psV2vGCk5wZuA5yLj0T0AJRmkp0+9A4ILHrDPYh8mAZyK 5ptg== 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=UI/Epk7UI6ih8itVpTT1qnXUK0ABqNU1gp/FWYX6Sdc=; b=rXbY+vcvUXvac9nBDwWVvkGhhr9A7bQoXarmOr3XrBldR532ckyEwhrtzAUEL06Z5O vaB0+I85P4V6PHGvJofp8x/wgUGgB5U7NGPEUOy/5EM+emUMGmjdy+ulSxU1ATHJ6rzA Wrhh1VMy+wu3HQ07y0Ov0WQlRnOpSa7JO1dRSHv0M6NsyUu2oyw12zKVUgwbO1xRPprt 1gI18uD+NszQBR+2CfXsakxSSWKdBTRYleGYNEN1ucJkcJTHV3AK/2uQlK0OLkCSaYHU GwWRemYmNzcqG55tWHhrtKCzng/DF+5Tl1hrCfiaFtTT6gnNYdr4GRZMm777ZE97qhrJ cQ5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BPNVNezn; 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 f10si1765765uax.60.2021.05.04.03.20.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 May 2021 03:20:48 -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=BPNVNezn; 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]:59856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldsAa-0007xB-8E for patch@linaro.org; Tue, 04 May 2021 06:20:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldrzu-0002Yl-NR for qemu-devel@nongnu.org; Tue, 04 May 2021 06:09:46 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:38508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldrzo-0006n8-N6 for qemu-devel@nongnu.org; Tue, 04 May 2021 06:09:46 -0400 Received: by mail-wr1-x435.google.com with SMTP id l14so8736722wrx.5 for ; Tue, 04 May 2021 03:09:39 -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=UI/Epk7UI6ih8itVpTT1qnXUK0ABqNU1gp/FWYX6Sdc=; b=BPNVNeznOTNgPgGAZdB4ayv9VXtVTMiASKdwMjRUhh6nHor+epZ0lttAP/0BS2rIzn XXTKhf/RxOa+aYFDpi6bgT8wjIVCDJnMlRhYRF9gqRum0Lu6heXScu4ScNOc+MdywH6z kxmyRdfawCbOJG7KcGAUTge5RwWYn0DyJ8xQty7dkEIRcOGgz9e+OPW7YtyTOH7rmLzZ dZb6FzjdmKqMuAZgwr8B15QZapEqAUUDPXvOsv19JWhIY4v4ThiLAkFc4sgcX0o2qAFh 0lmtmGnBrmcaaA8x3qP3Pi7/ObBSgutkBzhZAEJtZHKHKhCAJCEPqHQ37hJ4teByUeSl Temg== 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=UI/Epk7UI6ih8itVpTT1qnXUK0ABqNU1gp/FWYX6Sdc=; b=q9hXkDXNhj92z6V9qKSa3/gF8quFuHQ2KPyQ6mXtu1VSLs0wZvBtEXIQyPKBIRLCxA NgUGp32WltHYtiO8NwIw8roMZsbKSfpBMndMkGilkoCeNTR2/YHArDyObLN0a4Fpdukv n7SStkrT1IxHlYoHFwsFLzyiHwt9kUiT9wqzuKaorvdcf3roDwL/O6bRLvaV3seCzTso HrXglS/LZa0zQ1KN1mbLaF+ZivXGzcWfKJhW8WW3jLzoJei/vyVLvoZubZQrho94fi8M C/lb+GV5ccgT2ZeHdSbcAswJk0bfehFBbKzK3NKXcTcnRdKn/FyG7lfwon3KUaQAKVNq 3imw== X-Gm-Message-State: AOAM530gohcvN6q/ARx51nYXsI4uG1T3CWBLnyT8wSIzvjZVrUENhf/i x0ATty7rSgpbXUE/xUVJR+q69A== X-Received: by 2002:a5d:4521:: with SMTP id j1mr24270953wra.116.1620122978429; Tue, 04 May 2021 03:09:38 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q20sm2571121wmq.2.2021.05.04.03.09.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 03:09:30 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 435271FFAF; Tue, 4 May 2021 11:02:26 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 25/30] tests/tcg/tricore: Add muls test Date: Tue, 4 May 2021 11:02:18 +0100 Message-Id: <20210504100223.25427-26-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210504100223.25427-1-alex.bennee@linaro.org> References: <20210504100223.25427-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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-16-kbastian@mail.uni-paderborn.de> --- tests/tcg/tricore/Makefile.softmmu-target | 1 + tests/tcg/tricore/test_muls.S | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/tcg/tricore/test_muls.S -- 2.20.1 diff --git a/tests/tcg/tricore/Makefile.softmmu-target b/tests/tcg/tricore/Makefile.softmmu-target index 0fe6a86482..5007c60ce8 100644 --- a/tests/tcg/tricore/Makefile.softmmu-target +++ b/tests/tcg/tricore/Makefile.softmmu-target @@ -12,6 +12,7 @@ TESTS += test_fmul.tst TESTS += test_ftoi.tst TESTS += test_madd.tst TESTS += test_msub.tst +TESTS += test_muls.tst QEMU_OPTS += -M tricore_testboard -nographic -kernel diff --git a/tests/tcg/tricore/test_muls.S b/tests/tcg/tricore/test_muls.S new file mode 100644 index 0000000000..ca517556bc --- /dev/null +++ b/tests/tcg/tricore/test_muls.S @@ -0,0 +1,9 @@ +#include "macros.h" +.text +.global _start +_start: + TEST_D_DD_PSW(muls.u, 1, 0xffffffff, 0x78000b80, 0x80000001, 0xffffffff) + TEST_D_DD_PSW(muls.u, 2, 0xffffffff, 0x60000b80, 0xfffffffe, 0xffffffff) + + TEST_PASSFAIL +