From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A84FC433ED for ; Wed, 12 May 2021 10:42:52 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CF9F361183 for ; Wed, 12 May 2021 10:42:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF9F361183 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:39786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgmKI-00015k-Oh for qemu-devel@archiver.kernel.org; Wed, 12 May 2021 06:42:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgmI2-0004Hx-0D for qemu-devel@nongnu.org; Wed, 12 May 2021 06:40:30 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:51955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgmHy-0006Ms-LI for qemu-devel@nongnu.org; Wed, 12 May 2021 06:40:29 -0400 Received: by mail-wm1-x336.google.com with SMTP id u133so1254030wmg.1 for ; Wed, 12 May 2021 03:40:26 -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=2ZxifPNhE6akX9+XYZwzCV/eA4ZYz798fnoOHTBKs+o=; b=vYm3n9aIbWkvu5NCQnLit2T0Y3CL5USOGhRjKitlcjDhzcssmcJykxGCOpAbx088sJ e366noke9rJI7rhnHyx4pGTbGCL3s+kbNnzrjqayLNH+01dky2TCvhATyk67Vi0EGO+g JiHQVi4Oh10C1AB9BpJdtL6tBAP9/myJTZACXI0lCng5Y5SIQrHljnpALv8+gDA5vtIs jhP6EDElhZle5qLEWxQS6s2Z2LtnF3/Eze49J1lqvhAksl+Q3cO/TDZGHERwlzZyucQs RI/ENIqFnSNWnIO5cHprS6Cy+flBjN+eT6G+cmDmOr9p4Q9k1I77MvqTU/aZLs6MJi9S GQaA== 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=2ZxifPNhE6akX9+XYZwzCV/eA4ZYz798fnoOHTBKs+o=; b=h2stgih6s9HtWtb0/8Uayk9T0ZVT3IdQ5Vr6D/mSaDlmhjkfyIbAfjeagh1zp9rP2U 1Q8v2W4jvwNZkHZO/xxzYn0Bc3+PyeWfSVi8ZJ6LYDJzkyenDCOhnFbam+hB5mR0s6j1 X4S2wzx885l/MwKbi54mua+w5N2fklL5k+pc/AOSU/eRFEjTtprULX0Xvz6u8s3w4yWn Voh9TAaEbGUdWpxA8WQ4X00bgTbnAj52QwBo5Sfqn6EzlSXn1iEztk78MnPkC09ARxSq BK0iDuxFHG+5aSQ6PP6VNUZIdW4B2f668jNNp6D2O/DkLEPbs53X58aPM/i6t+ayh+t/ ZxUA== X-Gm-Message-State: AOAM530skbNpgYy7k79vWwFGduXiO/SGRM7JHN6bZKRkCL3RAo1NzF6M TsXd5tAhXSEPtisVnd2BZzvnxg== X-Google-Smtp-Source: ABdhPJwCI6sICGT2jgkNTRgrimqiNa2aBD8r0GPgj2Duqrs/XbzBYsmMIot8uK5WCOm65XE/KKxQvQ== X-Received: by 2002:a05:600c:190f:: with SMTP id j15mr10662282wmq.57.1620816025220; Wed, 12 May 2021 03:40:25 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d127sm5720416wmd.14.2021.05.12.03.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 03:40:23 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EB64A1FFA6; Wed, 12 May 2021 11:20:52 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v3 18/31] tests/tcg/tricore: Add clz test Date: Wed, 12 May 2021 11:20:38 +0100 Message-Id: <20210512102051.12134-19-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x336.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=20Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Bastian Koppelmann Tested-by: Alex Bennée Signed-off-by: Bastian Koppelmann [AJB: dropped duplicate Makefile] Signed-off-by: Alex Bennée Message-Id: <20210305170045.869437-9-kbastian@mail.uni-paderborn.de> --- tests/tcg/tricore/Makefile.softmmu-target | 1 + tests/tcg/tricore/test_clz.S | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/tcg/tricore/test_clz.S diff --git a/tests/tcg/tricore/Makefile.softmmu-target b/tests/tcg/tricore/Makefile.softmmu-target index de6a2cc88e..a9b81545e2 100644 --- a/tests/tcg/tricore/Makefile.softmmu-target +++ b/tests/tcg/tricore/Makefile.softmmu-target @@ -5,6 +5,7 @@ ASFLAGS = TESTS += test_abs.tst TESTS += test_bmerge.tst +TESTS += test_clz.tst QEMU_OPTS += -M tricore_testboard -nographic -kernel diff --git a/tests/tcg/tricore/test_clz.S b/tests/tcg/tricore/test_clz.S new file mode 100644 index 0000000000..e03835f123 --- /dev/null +++ b/tests/tcg/tricore/test_clz.S @@ -0,0 +1,9 @@ +#include "macros.h" +.text +.global _start +_start: + TEST_D_D(cls.h, 1, 0x0, 0x6db17976) + TEST_D_D(cls.h, 2, 0x000f000f, 0x0) + + TEST_PASSFAIL + -- 2.20.1