From patchwork Tue May 18 09:07:08 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: 441191 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp54557jac; Tue, 18 May 2021 02:40:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+H6GFLnIv5NeXQVV0KnUwVqo1h9ZzzRkIOLTOc5s5EE4DhyvBj9tH59VFoiFsGmC8pV8Z X-Received: by 2002:a6b:ea0e:: with SMTP id m14mr3522017ioc.182.1621330813151; Tue, 18 May 2021 02:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621330813; cv=none; d=google.com; s=arc-20160816; b=GBSvM7kSC91nV4F13E7tYuymmf0hTbKD+sK0Fqy0Y575eMI3qQ9h+Cc2yLtPUuifdN L0AZoDasnpqdeIwf7T4q7py0mGFVqP+nP7Z0+ZjCyTclRh20JaGZMCIdK9H9cZrQp1Jy Wku01eEYI16Ip6PbYnnatCkgnlxukJf6BFx9SwuL/N/5drfAAGNsL1NS37kwRBMII9Oq O0r3L3xMjidQPhzu/6FIyrhlvr7X2eDYW319ZRimL0Ud2M8sZx4vEBjgX0+hdZbUWTWk G6qpc36dekM1Fn64osW23HBpSGdzIBt/xxrxOlzy8S3lAK7uML1W9ZFR/zf+s6IMEXBu GFaA== 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=PdmEAT7DEu3lG1EeiXD5I5CWzOVFj+yeKWzonpH0EaM=; b=ajnQ3uIRpVE0JyVUsJNhKh2zc6l0pfHe2Mg6bM6lWJ8ty93qEH7tEqKduO/G5/c+Nl kKoQViPX8HnGjNxZ0Bz/w97cFNBAtej7Ttj3jnv1PqoEVo8Z6XbBDZPXJ7u3Q81Q2Gqw gZQUauf4bq9Q8u7kkSX0y6rcwTrh3Hz4pCGTyFWnNxJ3jkPH3zsRDHtZwBv3JPE2nWwJ cdKGH//ZcquGAwboB5wZbdQfLJiZ7KiMlVt7/fuw4Hy8lAg4jvj1VhF765YAk3W2dROE zWeDd3RAXUmReUzDI6LzKbRtuMk+SEJyMeLZSMY5da5LPtWOZTEkWt5kV7FHHM3w3DXT 5lGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=IrROKLW1; 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 y3si4024209jat.97.2021.05.18.02.40.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 May 2021 02:40:13 -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=IrROKLW1; 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]:34502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liwCy-0007X0-JQ for patch@linaro.org; Tue, 18 May 2021 05:40:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1livpH-0005IL-BR for qemu-devel@nongnu.org; Tue, 18 May 2021 05:15:46 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:41500) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1livp3-00014f-OC for qemu-devel@nongnu.org; Tue, 18 May 2021 05:15:42 -0400 Received: by mail-wr1-x432.google.com with SMTP id d11so9345020wrw.8 for ; Tue, 18 May 2021 02:15:28 -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=PdmEAT7DEu3lG1EeiXD5I5CWzOVFj+yeKWzonpH0EaM=; b=IrROKLW1x0JEZN6bLLel6CpBS7kYVpeUwgv0wfvxeqjDQVBLLLsljczfv4LU2L5KL+ 4Nvs9IXe0hUjWHARRXjTOLiFMqN99Bxwhonx6Sb+elj8otw+4FC8Ns6HDhNaBuF1T/Gn hEgQuKW4Ugr9KBIOyFO4NUFPk2HEC7Kx8r5NYZSZ8e2nfDIaadtICCCOTid1zLh040mI zPdf+908qcIG/Ukvm5AX/e1pHBaQKvRoAQ99Ocvl1Zq2D1xOByHUlsmVu5ZXpoPWfLwh o6qjAMqW7owDBvs+4fYMIEGRC7r9bvKpF4rOU5SjedukpErIDgzi798VFmSIf/UmVPta xgZA== 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=PdmEAT7DEu3lG1EeiXD5I5CWzOVFj+yeKWzonpH0EaM=; b=ICN27YyhWPmGs4PehXFORseM5d+wOdKi6U+yUz2eBaK3uZCNWvwgaA8r4CxjBkMHbm 21AYtznPvCdKnA99YhMaHfSs59Vvao+8BJHqHFUr5+eYameE/VMHY8+w73xlOV+uZiol XdPQzoqFG6YkNU6orKUN0+YQN3FS6i/pO6VZAsQBOKQajdDmt1L5LeAQiZVeDcHbr3n+ UHA6RrISqDiRn81rtmI9EwezDzKS7VQI3OFw1CuUmnVhVmU2v9AB8bpuIBhr15Y4sH1y E9sgjIaU0eOip9arDkzfzYsFwPS7rbF8iZGFhXwCfwyCK4515yBv+4ywLh28KdjkTCAL 0CNA== X-Gm-Message-State: AOAM532dxCgiNo1sfzrtffO+Yxy3qWtSxyz8ithI0xP1gaMWIwH4o0ou US+fwJ8le2lEbda40fyhG21FvkgPGN6Uhg== X-Received: by 2002:a5d:64aa:: with SMTP id m10mr5612210wrp.291.1621329327329; Tue, 18 May 2021 02:15:27 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l3sm948363wmh.2.2021.05.18.02.15.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 02:15:18 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 850101FFA5; Tue, 18 May 2021 10:07:22 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 17/29] tests/tcg/tricore: Add clz test Date: Tue, 18 May 2021 10:07:08 +0100 Message-Id: <20210518090720.21915-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210518090720.21915-1-alex.bennee@linaro.org> References: <20210518090720.21915-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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: Bastian Koppelmann , =?utf-8?q?Alex_Be?= =?utf-8?b?bm7DqWU=?= , qemu-devel@nongnu.org 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 [AJB: dropped duplicate Makefile] Signed-off-by: Alex Bennée Message-Id: <20210305170045.869437-9-kbastian@mail.uni-paderborn.de> Message-Id: <20210512102051.12134-19-alex.bennee@linaro.org> -- 2.20.1 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 +