From patchwork Mon May 17 16:10:07 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: 440162 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1243419jac; Mon, 17 May 2021 09:30:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/AZwqoP4z3BEQMup1SY6PKMzPXQ42beaWDaKlhluvO+Dl7a5e1QmSFX0TCCtOhNKsOYtr X-Received: by 2002:a05:6602:134c:: with SMTP id i12mr661095iov.175.1621269004058; Mon, 17 May 2021 09:30:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621269004; cv=none; d=google.com; s=arc-20160816; b=ard9Lm9C7K1h9cZCKLojxsmLZT8olIlnr4FV1gapGbYacWQOh8gzIJlXaEbyqL1Cg0 eGItMjnEfVSkTHvuFjM0nqgZpIf7hv5q01Wk50FeBFVX3U7WNVdr/COUF9EtGabidtdk sP5EXR4RL25YXbQ58hjDnn44mzxuZgtorjo66QkoXo11S7CxZib+SuudCOaAlmPqce6A WlEOSu1jhsj9XFj6//Hw9cBk3MxAImdc8JmSCW6iG6YK1A6zS/I4R2lYE/fC7dbj0aOI x2bI5mSdGQ51WoAiqCrH5gnyw0zZMHpO/uUDkUU8wTjzYbL1DyUocWPawVE6oFkaTzRR N6jg== 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=/GoNt9HHy9fj7GtsQyqbYSYiaxiEhaVdxxiDzDGgum0=; b=RvNElhbM7nyqWcbVqoINuvh6vVM4gGaDNFK0lVVTjkPgN/uCKK8xKE4BsPL7+0CW8V LO+NdQ1ydHf2wgw9tZyfonqrBSzOICBQFVtxbJXlGQJmbMKN4b3Ze6MXT5frVKSSxd0C MkvZw/cO1IaCgcJEYfspSnhjJMk6+3kdRVS1DHTVeGOIF/yQSbR+ja+8ZD9wdrf/IpXe rJZZ8EHPHITgJK6gA4DEHpasMjLlNYI6Hlf0RGooe2+CNv0Iy390cv7t6Wmhn6e1Xmsk u5QfyPKEiE6rfM+MFg7VRDsRRDRWTPZouHv1u2UalcFOTuYjZwsAIv1020KAnALRox2R 8UZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=GCNfcTeh; 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 j188si20725578jac.58.2021.05.17.09.30.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 May 2021 09:30:04 -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=GCNfcTeh; 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]:57386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lig83-000313-CL for patch@linaro.org; Mon, 17 May 2021 12:30:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lifyr-0001sN-Uy for qemu-devel@nongnu.org; Mon, 17 May 2021 12:20:33 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:33662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lifyh-0002C8-Gn for qemu-devel@nongnu.org; Mon, 17 May 2021 12:20:33 -0400 Received: by mail-wm1-x32f.google.com with SMTP id z137-20020a1c7e8f0000b02901774f2a7dc4so231297wmc.0 for ; Mon, 17 May 2021 09:20:22 -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=/GoNt9HHy9fj7GtsQyqbYSYiaxiEhaVdxxiDzDGgum0=; b=GCNfcTehREn1MwjgatoRkiVlkWxbEGdqtixlShehgHp9uzreQL0P+X0lxtNQqtK6l+ YjCTAgh0BasUADdpljs7Q7vlx55dbnfgd5vEw5LSeCKM4408IBqjrnzeaj0mrkcEoxoI qYVG7lrEJ3Fv0gfV5met42ZzAA2/w8ymUYc52g2w6ARTkql47J+TQdXOtNfsDItnBsMb XmOXw9s8dr7brzvsNZ8a4k4Hl/eCsucTVQdVPfFJ8z465MLnO0hDjpOVpxDCM1JrrLYh qvHP7UIySzduaxj2ZHTLZAux6eAYYstKACeUgpCCWAePauI4pBatm4tOp2B8kFyv84uv T1jw== 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=/GoNt9HHy9fj7GtsQyqbYSYiaxiEhaVdxxiDzDGgum0=; b=rLmuKuIygIJ5FUihJiGfY767ymr/b0OwosazqoxwbLw09DVl9rSBn9khVWTu31WDQT eSmGNB24q/FHOjgE4tzKAwv/uOrVggf7ZzmTZXsFHd3PyCbJoDs2SFkNMa9okbHL7cRp JasO5ELqrLK5MHjOKlwOHuNHs+TI3H1l21a5yN6NmwvJDS2x8rSFVP4YFkvYmcYa6Ds3 wIroG4KB5zeioAFiIFW4+NnrrScNj+6dH6VX9g2bffp5WcTmgbn8oGrrbPWrEVlxOf5n tSjFjYW9WJLGmiZ4pIbCVcnCgjP2ApnJEEOHtuBgl4lXlNkZ7OiraaBdr9cO9WpTcTnJ LG+Q== X-Gm-Message-State: AOAM53299Ov6x8+9XqluqYq2iZHZi1EO141abJgzWQMt7529s3WA3y5H +9/9X5LWNTohayxHKz4BJVIZwAMPGDn0MA== X-Received: by 2002:a7b:c24a:: with SMTP id b10mr672587wmj.157.1621268422029; Mon, 17 May 2021 09:20:22 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o11sm3643109wrq.93.2021.05.17.09.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 09:20:14 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 764761FF9D; Mon, 17 May 2021 17:10:24 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL 14/29] tests/tcg/tricore: Add clz test Date: Mon, 17 May 2021 17:10:07 +0100 Message-Id: <20210517161022.13984-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210517161022.13984-1-alex.bennee@linaro.org> References: <20210517161022.13984-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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 [AJB: dropped duplicate Makefile] Signed-off-by: Bastian Koppelmann Signed-off-by: Alex Bennée Tested-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 +