From nobody Thu Sep 19 01:46:57 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1719774173; cv=none; d=zohomail.com; s=zohoarc; b=hkpgVf+GykRZyCQNxOAz25o37WG/5rAaKEb3VU4vv2PdwO95ZxqsaIQsBRtDnaL3ChIWeL8LqFrX07PB5Svskw5EC6pm83hhXV4TxHHuYMwO1LfGbhdwZqnw/YrCqfaF54rcoBsFcSUAfZpm3J2TSM3grUM7cmMQmMT9crhDl54= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1719774173; h=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=ReYEdzUuGbLvXjnnQQZUg5KF5S6M41MyN/EfMs2ZLfY=; b=R8KyF8AacBH9eRnHPFM8dPzlWhNx9oafhC5g7ljjhg7BceZT5GbduUUQKHrc0NmOQ3wkXFD26bwdRLQgwFJwK0kPJsV+AZxXtXB7AsyHZ5q/dpTQgJwKYeLLUggSZIN4nYSHiOTMiuF4M09z32Mx+Hn9AZcp6djPQKbyHtlr43Y= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1719774173792431.6295278985299; Sun, 30 Jun 2024 12:02:53 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNznQ-0004sl-6X; Sun, 30 Jun 2024 15:01:08 -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-0004pb-G2 for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:05 -0400 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNznJ-0007X4-J9 for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:05 -0400 Received: by mail-ot1-x334.google.com with SMTP id 46e09a7af769-7021702f3f1so104772a34.0 for ; Sun, 30 Jun 2024 12:00:59 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 12:00:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719774059; x=1720378859; 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=ReYEdzUuGbLvXjnnQQZUg5KF5S6M41MyN/EfMs2ZLfY=; b=BlV2ScXR1hCrXCPuqmlW8a5sA3/2E5qQbUFqTt2k1IF1L882ybi2Nn3jUmRMAjdSk7 iW6AfQggEP6QkrxNhWw5Q+5WUEWfcpgKY+3j+ai/kaevYU4HVfmq5pYURcv+y7IHjDAJ hCuXGPHLoq5tj6V/PHc9MmlSu+GaZlBZbG3w3OISy6jeGmBERy4aYG2fJgf/hBtTBfQf BTVPwFoQ/nbatKlmh28ZS03oJjvZRyp2swgyE8uxVuCAF5C7iM3sQGJjEEMpa2BZ4RYA P6hLHchaepl8D9JOHoKVnN6nN1WWuy9XlktCbQEn/b9ndQp3voCSpaeYxS5X0ut6dwvT pEBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719774059; x=1720378859; 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=ReYEdzUuGbLvXjnnQQZUg5KF5S6M41MyN/EfMs2ZLfY=; b=U2trtiXMmW4DvwkymbqxWEBag0j9ssuhgIJxRzvx4C266Rgy3KpyTfUcLgXrt2qj7O jhstjb91c4POBmBRWpZJLXjaYOOHyLRtV9jz958EU1EbjCg7tei7xOfxePEU7UHPv+wg cs4Z6y97egkuiK2TG9FF1VWarDrvZvT22StkCEKewSaJ1tCwtvjUz95E+jTFPUMJsq1L vN29/TRwO+J87wE8JrBMAo5Wp1Bm5CvGTvTQsxHxqKtUAfed9MEcwgOWpTAsqCOt/YAE ps/xuKaSqzMcVy49LXcMq72ZmZr5Q0hQAZwc+HRw6EUIIZ7Bmbd4+uKQRjM6gHev6Rmy 6AUw== X-Gm-Message-State: AOJu0YwYRwprmalmVPlo0U1fBrucOkzzs0wXPAuSpk6xhLO5/HXid2nq UVtwSi0bu6Sn2AKW8ng7zq7UsGnD8mveMle59Rmz7PBBD/ojCddK+cffJOVuhIZjrmGAHgvQvLE 8 X-Google-Smtp-Source: AGHT+IEaFqbdBqYAeeaC/8pCwmgYa3JqNFMA4/gJps8LTFbP6Jci/K2QyrqwuZ4l2EZFl4jjJxweuQ== X-Received: by 2002:a05:6358:b10e:b0:1a5:a3b3:ada7 with SMTP id e5c5f4694b2df-1a6ace912demr431806855d.25.1719774058266; Sun, 30 Jun 2024 12:00:58 -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 06/14] tests/tcg/aarch64: Do not use x constraint Date: Sun, 30 Jun 2024 12:00:42 -0700 Message-Id: <20240630190050.160642-7-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 Content-Transfer-Encoding: quoted-printable 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: pass client-ip=2607:f8b0:4864:20::334; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x334.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.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 @linaro.org) X-ZM-MESSAGEID: 1719774175056100004 Content-Type: text/plain; charset="utf-8" From: Akihiko Odaki clang version 18.1.6 does not support x constraint for AArch64. Use w instead. Signed-off-by: Akihiko Odaki Message-Id: <20240627-tcg-v2-5-1690a813348e@daynix.com> --- 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 7ac47b564e..f631197287 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.34.1