From patchwork Sun Jun 30 19:00:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 808705 Delivered-To: patch@linaro.org Received: by 2002:adf:fe0a:0:b0:362:4979:7f74 with SMTP id n10csp1271934wrr; Sun, 30 Jun 2024 12:04:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXT5HEJoGTFfhlHMEVkWps6MkmJVURzmPI3vw5FfJsU6TDXgCrBRPfKp+OALkl1fqyF+biaBbyfzXtV2OCak0w2 X-Google-Smtp-Source: AGHT+IH21fJY3ukaz8v5DKdCIaGEee9/Mubx16sA+lr+iQO+zwcP7F/fHquXcBXKna+v8k1GHYUD X-Received: by 2002:a05:622a:1a9b:b0:446:5d5f:9fc7 with SMTP id d75a77b69052e-44662db73e5mr34855101cf.18.1719774281975; Sun, 30 Jun 2024 12:04:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719774281; cv=none; d=google.com; s=arc-20160816; b=BKbW+skY+X1MYnzrJYhcEhXVoFvv/sddtQxD+q6b/986UMU0vtqIpAX1DdDttuTPSz LDgPpAtVUVy09e7ZQEstIN0WkqfaZZ8sIrWz4sQKAITesDe5GobY6CjehAtW+FbCHxy6 OJOI5MYMdFSHrnoMwyb6iUBJeD3CG2FqA9ukh3XbsVR8dqwZqAuG/trKVJaV1s79idNP cJiZWDMD5KsLn20UyCAq/1Vw0cFbFBfzYhMf/YkqrRd7j4sP0rXEQtErxBTfs+6XjTma VQeyloWXFtmGyJJVfPb2byLrTpq26pow2vGl9LF719Bd46R0H5XGxD95969YFWsT1mjL Md3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=jSW9RBr/uXKbMiOwje1wrfrlZqFBsh4is9koj+Xbztg=; fh=m75Mm+Gv5Bbap8d+kXNEQQV4hpb219dTdfnHt9ctQLQ=; b=JhATTEM74M09EMT2detX+MCdO89U+mGlT2HZY5/lPJOXK69XdsOcYVqSSVWAFh4D9h nE/5IaRN61VsmjuiVxjg5j/xocucxndSJroQaE1xoPkaTys1YEmwL/2qbCx64S2ub/Yw W2YTdJiJMwX2wmospGp2+OqYRm6dR+tjB5spVKrizdnXZwqnG2EKlw0M/9pEPUVbOvBf 5vOURe6WFvHJ8l/FhbDDBqRxWs/tkQua5LgnbQ0U9HZh3vk0wpMrk9v++Jesb7fO0V/e btOnoWA3e4ba65s14YcrYh1XVlg3lp0n+3dt/S0bsbZvnHnmWTIagHG2pmXWjJh7UweF sldg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="UXc3lXx/"; 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=pass (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 6a1803df08f44-6b59e5f3ac8si66857836d6.385.2024.06.30.12.04.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jun 2024 12:04:41 -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=pass header.i=@linaro.org header.s=google header.b="UXc3lXx/"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNznP-0004rF-A2; Sun, 30 Jun 2024 15:01:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNznN-0004p2-1c for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:05 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNznH-0007Vl-NQ for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:04 -0400 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-2c8e7553c9eso1643671a91.3 for ; Sun, 30 Jun 2024 12:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719774057; x=1720378857; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jSW9RBr/uXKbMiOwje1wrfrlZqFBsh4is9koj+Xbztg=; b=UXc3lXx/xJZ4WpRiG/t5jCqOdGUi34tIv5ckRuPkYlU+AKBsDs+J6CQgC4tRg/FU1R x1isBNABigmptVC+OO4MTLihHckIPlTPsY/0cNvPFPhEf6kY0g42Vhl2M0C2QAb2UJsH BaQSNLLOoRczP9OmHWms15N8Qq4i1l3Qk+ChnvYX1XTHBrBXZrdGFfw6LfWKkfBPYDi5 SJcIz9mZzJzKuLReWoXTHx/NO/gVXF+0pQjV1I/E5ZkIABLCua9ocuVVoY7B5tIghX8p M55c10TFoknYYVUd+tivtfMnoKPHIOWNnEtdUIBfR6uy3lXxO+3pePaYT7Qje2ct7T7z nENA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719774057; x=1720378857; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jSW9RBr/uXKbMiOwje1wrfrlZqFBsh4is9koj+Xbztg=; b=hNBPFugeinsSVD0UrYphJ0K/XMvEM/NHDRM1JsdL52ZsIM+VUwTch/SsGywHqcfAx5 OeyCE+ThPtpa8NlGJn4TK3MmvSs8EuughzmwKNZu0REXxfFofCzsB+3klJZucGD5cT5p SNXARw/kAlrgmsZF5IYXMLiSX4MpjtC32U9/K2XAcZwtEC65vabcggDnaEdEYeJIXQJK AWDPcXlX38ScBsJmPds/4nqR77joC9BVHpyupH8pog3SUXEb7TjZPyFjmJfHYNe6JXW9 oHLqa0P75jAdLOcXa8dcs0bgpAnOc+0F7sh36bevxN747HjwyR48Ad06pxhzd2KiPqMw zDVw== X-Gm-Message-State: AOJu0YyPvQ0D5KEt9fhAMrxOp7l6jyY2te6uErI3EZ7Nuxuhm1OBWvV0 VyH34DmIoBKyNKcOUc14cQEWPs+da9pgB/ooD9P7ezAGB3B7p1PSnWFtl5Czyp8wKvop4k16ls0 u X-Received: by 2002:a17:90a:e286:b0:2c7:c914:69 with SMTP id 98e67ed59e1d1-2c93d78e298mr3261403a91.43.1719774057367; Sun, 30 Jun 2024 12:00:57 -0700 (PDT) Received: from stoup.. (174-21-76-141.tukw.qwest.net. [174.21.76.141]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91d3e7e4bsm5115641a91.52.2024.06.30.12.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 12:00:57 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: akihiko.odaki@daynix.com, alex.bennee@linaro.org, qemu-arm@nongnu.org Subject: [PATCH v4 05/14] tests/tcg/aarch64: Fix irg operand type Date: Sun, 30 Jun 2024 12:00:41 -0700 Message-Id: <20240630190050.160642-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630190050.160642-1-richard.henderson@linaro.org> References: <20240630190050.160642-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Akihiko Odaki irg expects 64-bit integers. Passing a 32-bit integer results in compilation failure with clang version 18.1.6. Signed-off-by: Akihiko Odaki Message-Id: <20240627-tcg-v2-4-1690a813348e@daynix.com> --- tests/tcg/aarch64/mte-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/aarch64/mte-1.c b/tests/tcg/aarch64/mte-1.c index 88dcd617ad..146cad4a04 100644 --- a/tests/tcg/aarch64/mte-1.c +++ b/tests/tcg/aarch64/mte-1.c @@ -15,7 +15,7 @@ int main(int ac, char **av) enable_mte(PR_MTE_TCF_NONE); p0 = alloc_mte_mem(sizeof(*p0)); - asm("irg %0,%1,%2" : "=r"(p1) : "r"(p0), "r"(1)); + asm("irg %0,%1,%2" : "=r"(p1) : "r"(p0), "r"(1l)); assert(p1 != p0); asm("subp %0,%1,%2" : "=r"(c) : "r"(p0), "r"(p1)); assert(c == 0);