From nobody Mon Nov 25 01:36:08 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1719401269; cv=none; d=zohomail.com; s=zohoarc; b=nxNoj3tLy8KPXFAJKnOiAwFWTO2dX/DQvvpkZb9hNBjJrSwOf3JlZm874Zrz/lHXsWPQT/nKaGRCJTiix6QoKhZpVWuoCGjcNNTwsl/8r+lijyWESsrTbxg15+OSDXS+zz8wXdvYXV4I8eqp1mUflAlR1NBvTItGr+Nf5h60Pic= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719401269; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=YbniHFi8zk8/eQ53+kWXdalO5wGwDTVyuKnrK7y8sVvzPDXn85iVR07WtxUBiwP9ha2fuYK27oZ90wW+NrHW4mo2xkQO8QLJFCMh/vN/fGs1Xq6y4xpXHe4UkYChEaM4f6NncPj5ypu+7/+dUukQJ6PfLjXYjYUoaahkwJqvJOk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719401269611425.4803868109692; Wed, 26 Jun 2024 04:27:49 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMQny-0002WS-8K; Wed, 26 Jun 2024 07:27:14 -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 1sMQno-0002EJ-Kv for qemu-devel@nongnu.org; Wed, 26 Jun 2024 07:27:05 -0400 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMQnm-0001sp-Up for qemu-devel@nongnu.org; Wed, 26 Jun 2024 07:27:04 -0400 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-25d10a838f3so1497011fac.1 for ; Wed, 26 Jun 2024 04:27:02 -0700 (PDT) Received: from localhost ([157.82.204.135]) by smtp.gmail.com with UTF8SMTPSA id d2e1a72fcca58-706513141ddsm9740402b3a.216.2024.06.26.04.27.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jun 2024 04:27:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719401221; x=1720006021; darn=nongnu.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=lCGJRS+/rX7W/BaJjOmzorI4qcff9MofydInZe9+Gc4eqVXp8D9dXOQE0TJUIdTIz/ 2W6RpYR4R8uczsxoIWHwZD+QhyQloR1L0qvQxZ3spKrehFmvx5nEiE4XTc3OKFp4DrYm M74eGjzGUP8FZqW7nRB+S/EWNOolmcuZpTCT/nNnJcy4ISpPHNpnFtvyP1XvOaNr8vcQ 4Rv/+4FlW00eTOFcnWahB8LaH5L3dloQA1Yy4+NYIN2346RhEYUF0Mt5ve+Q+LwErYjk dvNjh0TbnTmyP6NFMYLsrqQXIzJzQg1VsY3no+YAtRaW5IClhZofWmNgUoI4F7sz+6Nn UbLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719401221; x=1720006021; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xfjEm1QZECbrFVCphMYb79ZHnIFQxwHobg0g4KA/LWs=; b=KjNBSL28IrleykzYz86wLfhenrb05V3cc/pvds3ug6V8MuBsNmeCEB0CAg2jSmjgPS tTCJXvAQrBZaFOZxMxKWp4luGz6BR43aQFVNy6QAtUGcNFusRjUzAWBW1Qsldf+SZXpy iHec7ATn8XSP2eIbeWJhVjbu4QULlspSJCahAMZ62/BbyseyKrXzYeow5J6CrrRi9Use luxmWlfoLZShTEI/9heUa9UsY1Uh+F9vCET6esmt/IWWXU1pEyDTJtQxB+GaQgSgvt91 6SmVUOSJIlaJfubdz60O12486VdPr+1IDdhndFJwdV9jPgQJOTofTk/9DrRy6YzYEBDT 0ojg== X-Forwarded-Encrypted: i=1; AJvYcCX51RoLGzOnoZXIYcI1Xg6cyS2JJ9Tz495CQtdVlvaHsSWlON+81RcqqIGNGd88YC6K0/4Fbiw+qCdtOD2g+n5H/lO+JUo= X-Gm-Message-State: AOJu0YzPyRdd80NoEDbq9AGOTYhZbpCbewaX2aiqN6ERXWg9EzkoAmXI ULeT4YL88zQGruvwQz9Dl+wLoP//8Vexdow4p2F32cQpXxS0luoGBYtdfevn+ic= X-Google-Smtp-Source: AGHT+IHCTWGhid60BmDoQXaWM5yEVeNFcG8uup6veBIcsTs7QXA4WaEYzeRPZ+8Tlgb7/CPIM5t46A== X-Received: by 2002:a05:6870:4208:b0:254:c08d:cb55 with SMTP id 586e51a60fabf-25d06bc8191mr11281742fac.5.1719401221565; Wed, 26 Jun 2024 04:27:01 -0700 (PDT) From: Akihiko Odaki Date: Wed, 26 Jun 2024 20:26:26 +0900 Subject: [PATCH 5/6] tests/tcg/aarch64: Do not use x constraint MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240626-tcg-v1-5-0bad656307d8@daynix.com> References: <20240626-tcg-v1-0-0bad656307d8@daynix.com> In-Reply-To: <20240626-tcg-v1-0-0bad656307d8@daynix.com> To: Peter Maydell Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Akihiko Odaki X-Mailer: b4 0.14-dev-fd6e3 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=2001:4860:4864:20::31; envelope-from=akihiko.odaki@daynix.com; helo=mail-oa1-x31.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1719401271572100005 clang version 18.1.6 does not support x constraint for AArch64. Use w instead. Signed-off-by: Akihiko Odaki --- tests/tcg/arm/fcvt.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/tcg/arm/fcvt.c b/tests/tcg/arm/fcvt.c index 05a27b2d0710..157790e67961 100644 --- a/tests/tcg/arm/fcvt.c +++ b/tests/tcg/arm/fcvt.c @@ -126,7 +126,7 @@ static void convert_single_to_half(void) asm("vcvtb.f16.f32 %0, %1" : "=3Dt" (output) : "x" (input)); #else uint16_t output; - asm("fcvt %h0, %s1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %h0, %s1" : "=3Dw" (output) : "w" (input)); #endif print_half_number(i, output); } @@ -149,7 +149,7 @@ static void convert_single_to_double(void) #if defined(__arm__) asm("vcvt.f64.f32 %P0, %1" : "=3Dw" (output) : "t" (input)); #else - asm("fcvt %d0, %s1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %d0, %s1" : "=3Dw" (output) : "w" (input)); #endif print_double_number(i, output); } @@ -244,7 +244,7 @@ static void convert_double_to_half(void) /* asm("vcvtb.f16.f64 %0, %P1" : "=3Dt" (output) : "x" (input)); */ output =3D input; #else - asm("fcvt %h0, %d1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %h0, %d1" : "=3Dw" (output) : "w" (input)); #endif print_half_number(i, output); } @@ -267,7 +267,7 @@ static void convert_double_to_single(void) #if defined(__arm__) asm("vcvt.f32.f64 %0, %P1" : "=3Dw" (output) : "x" (input)); #else - asm("fcvt %s0, %d1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %d1" : "=3Dw" (output) : "w" (input)); #endif =20 print_single_number(i, output); @@ -335,7 +335,7 @@ static void convert_half_to_double(void) /* asm("vcvtb.f64.f16 %P0, %1" : "=3Dw" (output) : "t" (input)); */ output =3D input; #else - asm("fcvt %d0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %d0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_double_number(i, output); } @@ -357,7 +357,7 @@ static void convert_half_to_single(void) #if defined(__arm__) asm("vcvtb.f32.f16 %0, %1" : "=3Dw" (output) : "x" ((uint32_t)inpu= t)); #else - asm("fcvt %s0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_single_number(i, output); } @@ -380,7 +380,7 @@ static void convert_half_to_integer(void) /* asm("vcvt.s32.f16 %0, %1" : "=3Dt" (output) : "t" (input)); v8.= 2*/ output =3D input; #else - asm("fcvt %s0, %h1" : "=3Dw" (output) : "x" (input)); + asm("fcvt %s0, %h1" : "=3Dw" (output) : "w" (input)); #endif print_int64(i, output); } --=20 2.45.2