From nobody Mon Nov 25 01:30:22 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=1719496776; cv=none; d=zohomail.com; s=zohoarc; b=hu8FRKz20S9CpOxeV1XvD4Kmf0kk6ENB8v4OZ3yxyqaVAaggEPsgQlpyvxNk7hcEMUDOOvCFF97AApRX36L66c0qnfU+1YVtib6GMqQZuvMgAB6E4L6EDwxBzDr1MfZgL9e6XpAQJGfHZrcofjU3cZJyVqV2whDEdZQKXMxztZ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719496776; 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=D4NEkoryib5RCi8YhaBzAGMbt5DXOVJKOqn/B3IBp2j9a2pEIhubTmNc191EEqc8qye6UFs6wKkra94bQUIKBVeRbSF0B1syTWbYUFIEFZOr6M1zY1k8+3q+bxryCUTZe7y85bNguWTTJ33FGJ2SfAuY2XcfdAhV4OQttLiPidc= 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 1719496776824626.300795598089; Thu, 27 Jun 2024 06:59:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sMpe0-0002Vg-G2; Thu, 27 Jun 2024 09:58:36 -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 1sMpdx-0002SE-I4 for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sMpdv-0007t3-Jc for qemu-devel@nongnu.org; Thu, 27 Jun 2024 09:58:33 -0400 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1f6fabe9da3so64200245ad.0 for ; Thu, 27 Jun 2024 06:58:31 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:9ac7:6d57:2b16:6932]) by smtp.gmail.com with UTF8SMTPSA id d9443c01a7336-1faac8f5a71sm13506705ad.109.2024.06.27.06.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Jun 2024 06:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1719496710; x=1720101510; 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=u0MbdRyUb004QphMSZ0rwKlWYM6ScPEa7JodAGpxqEEVIsjrDWvLR1mmxDS0YaJXAB oP4GMgld6mRq8JnteO6z/u06ZZ81GwFcvAoGSjIf664NjQWOaO4ia93zYJrex2Owv+4A vAx72GFbgufIAn3OwxRtNmAa0Yhlq6lTXgaNjxZg9b4VZgORNiNfwq+u6d6QB3OayOCd eqbkJiI/IoRuDMPai+7SQAPJCd5PKLoWYAwfk3RDeY6fFjkGhrW1GJmmN+mG3V46IsR2 eB9zcZmhmDhPksu0us3NjAZuOq7h+s8F85XBTIT7pziHxuFDkLReZPFNxIQTwswUWQbv 5UgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719496710; x=1720101510; 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=JkvIY6XSP6rBCFjKk3zDKI9zs2M81X/AvQfOQGeV9SpTWaEicdsZbI7Hf9145eXGDO 30MHawF9RjvHfsJhSiqhyJAmeP5Ms6zLGniHseNET+BOHhuhGtVZ4rvzON0vRyeqFV+v 26r2mqXSmQfMCNeCzxbah46QU7LOiKxbvl6OWQhimeK2Vso4LtsV4y4RJmFrsGNVVOpJ /X07r0kA+MEYsUxABUph9Ac8LE58ZzWEC73WseDcxrNTR9LalLa//LtekmNsqF7jligt mnXHvn4YVH8HClV/QYBM6dxn3FVHD1IqQyWUxfwmaWlV1mM8cKa+9ae9oIBYH31coInj 8lWA== X-Forwarded-Encrypted: i=1; AJvYcCWaMjAFbO9Hh3524I2Wy8DgZNx1v6F1RBqbEcXKuDCaWgyxnU5MivqjaFTNskQI8r+fP2FbGh5uf4qakUYioFAQjg9mHC8= X-Gm-Message-State: AOJu0YzuJ2zV8HyKZWXL/7hwQx2ALvUia7je5I7q4PKAAOfqgoFfex18 KOg4pgCaduiH1+nC01HSeZOniR5yYrFIS+zWp/OMGxraGX1jwDrFnXAU+fQCS7Q= X-Google-Smtp-Source: AGHT+IFqsrJNhhU+ItZ1RtuSfKHh3Oqhi7BuzNUGYuUMcdRiFhYGaJCECMYQ9rOAyZURrOQKDlKCiw== X-Received: by 2002:a17:903:2342:b0:1fa:7e0:d69a with SMTP id d9443c01a7336-1fa23f15bf5mr149519925ad.46.1719496710476; Thu, 27 Jun 2024 06:58:30 -0700 (PDT) From: Akihiko Odaki Date: Thu, 27 Jun 2024 22:58:06 +0900 Subject: [PATCH v2 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: <20240627-tcg-v2-5-1690a813348e@daynix.com> References: <20240627-tcg-v2-0-1690a813348e@daynix.com> In-Reply-To: <20240627-tcg-v2-0-1690a813348e@daynix.com> To: Peter Maydell , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= 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=2607:f8b0:4864:20::629; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x629.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: 1719496777030100001 clang version 18.1.6 does not support x constraint for AArch64. Use w instead. Signed-off-by: Akihiko Odaki Reviewed-by: Richard Henderson --- 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