From patchwork Fri Jul 5 08:40:24 2024 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: 810359 Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp1507954wru; Fri, 5 Jul 2024 01:43:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWGQr7AUdkvhP4Cy5CE4gwMu9oCVJr9MCsSQ9UOb/yeEHzNzYbzdiM/39rizLyCc39iZnaDL2fBtRyIt4Y1uge1 X-Google-Smtp-Source: AGHT+IH7fpTYOnzqsGgNBe/FFvkgaj41EMIM+PEoVhA/7ICVHHvWExPqDdhvXUyY6tqqsfawZQjS X-Received: by 2002:a5d:4483:0:b0:367:a49e:746d with SMTP id ffacd0b85a97d-367a49e74c6mr1503162f8f.39.1720168990153; Fri, 05 Jul 2024 01:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720168990; cv=none; d=google.com; s=arc-20160816; b=a1HKf9PUkS4Nj6lcrzqriz4fOax35s7mGc3resp5ZoalZPGQcJIUfP1h5jzxhhKtlH mpX8kJ7p88GVADBvCaj+EZQ4dZvhX7YerCJYE3X5R0VpF94pXfJcZwh/EQsuvyEjA2mv Xpqosj1hv/d2JGGU8Q5o803Kv2CSoaUfNriqgrBiMBf9zVHRIJ/Cj3lWZ/Bqdt2OURiZ LyVcVwHynMwE3LUwZnVJIFBPIx7JRw10f4aFEvW4JnPAZ5pulo7i5gw/IaSXcehCc5cy wtN2+EsOc94wXLQCb/3C62Rl/RGU9ELxnScthXZOXtO8tblocWSxDA37AvtIDIz6rshQ ZPWQ== 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=aiGk7AOsQ7y9imsMVDdBn97JRYhfShbL95x+ZPjiJBo=; fh=jJAo5/p0ZYR4zINrfgZ/Zs9vrNoEEOPakMg37pTjRb0=; b=kpxq9xNKCsfAZKf0XLD+ROW5I3QnSjYP6Y8JA8b67qAH950larcl1gZa6EpjcUPTw8 4e3Nb8/tOWx5DSmU1XltApZRx+wJvSQ7ygJ4GPaqbIbl+BcqZaNtAW72e+tsx3FHGsB0 7n0o6kLGJexRBXnUb4k5pku+FI78gkHIIiCuCe7ady2o6lLJoHFrBYkBa6YQtu7y0vxf lTvmCavUJWJciL4+xIsdgul8u++ZrSsotEe3DIMJIGc2uWBw9RZ6mKVvS05sjKgzHknA PlUMImqTaIaUoFlzO5rS6pafG1lkZz7+5+eFcCbqamst0dRsd1PGgecfkzyIFXNecbN4 JlfA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="p/3gBxFI"; 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 ffacd0b85a97d-36787b75011si4304369f8f.1030.2024.07.05.01.43.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2024 01:43:10 -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="p/3gBxFI"; 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 1sPeVo-0001mA-4p; Fri, 05 Jul 2024 04:41:48 -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 1sPeVD-00008P-Sq for qemu-devel@nongnu.org; Fri, 05 Jul 2024 04:41:14 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPeV6-0003GR-OU for qemu-devel@nongnu.org; Fri, 05 Jul 2024 04:41:10 -0400 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-58b3fee65d8so1748269a12.3 for ; Fri, 05 Jul 2024 01:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720168862; x=1720773662; 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=aiGk7AOsQ7y9imsMVDdBn97JRYhfShbL95x+ZPjiJBo=; b=p/3gBxFIjh80qa7vlvJ2cJ+1QGonFr8N5Cg7WhWmErqugR7NAywRVRqHuAcnBtZ/NP M13O/i9QCWfxyPAMh0kyZ2qhZn+as1vpNDr2PWzVS7sQBCt8CtmvICOFVKl2CJ60hF+M WPm2pQlkcUeU8+jSB1NmrdzO+FcN0DDi0K13CDrqXEw8622YLgp1zEmqtQ5msMvUVSwl q7ObMAQFltDsOUoYkKIjuma7G70VlAFbzZ6g/NBFEYZs+JxwV43EB8ly41eKMMIhB6cq F8mKYcjPJxyRFcCsaB4JDGEhMlO5j1KBjSTtv1y2xC1/j0Q9A6mXmZWrYZfrFzZ4Kapx aUyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720168862; x=1720773662; 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=aiGk7AOsQ7y9imsMVDdBn97JRYhfShbL95x+ZPjiJBo=; b=cwb3E8b3h9qk4GrJDAH4ER8n1UQA43QXLWvPDFeMOu3866XMcjYkV5GmGGO4fF5X+a sY0zIuj6J9K++5zveWZrfAphe8UG2GVATR9D0gK9nGxpvf8Epk4W/cA7O+3MXI5K1TCD LWX3YuPqhtM9nOP90+e4CVNS9AKXnROAtpBsB7uQSvOz2aeA3NZbwxmhryx01wN84cmw k9tVgVSF9AvOXjVRWTYki9LW+e+4Z70o6YSK9o8H00UcnTfcoNf3EO9wp+nK0yO7ydYQ HdoStL12rIbMuPPUjz2/P7Rf0tlktERGa7YO72LY3Ys+y9zx/i7EHatF1+uHVv7aQx7V c/vQ== X-Gm-Message-State: AOJu0Yzy07tFqDEdQhyHTRIakVrWtd8uiKeLvAv6cnuhaCioytrBojfN UP5LLcA4x4SKr5lFTdpSPu9X8ZZK+isVi1ATWE8dBpZODjeCpg9ro0uoI7c0mQA= X-Received: by 2002:a05:6402:2548:b0:57c:610a:6e7f with SMTP id 4fb4d7f45d1cf-58e5984c803mr3243200a12.11.1720168862360; Fri, 05 Jul 2024 01:41:02 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-58d0bfeec43sm3091667a12.48.2024.07.05.01.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 01:40:58 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 609A76211C; Fri, 5 Jul 2024 09:40:49 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , Beraldo Leal , David Hildenbrand , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Alexandre Iooss , Thomas Huth , Mahmoud Mandour , Peter Maydell , qemu-arm@nongnu.org, Aleksandar Rikalo , Mads Ynddal , Yanan Wang , Eduardo Habkost , Peter Xu , Richard Henderson , Marcel Apfelbaum , Paul Burton , Stefan Hajnoczi , =?utf-8?q?Alex_Benn=C3=A9e?= , Laurent Vivier , Akihiko Odaki Subject: [PATCH v2 17/40] tests/tcg/arm: Use -march and -mfpu for fcvt Date: Fri, 5 Jul 2024 09:40:24 +0100 Message-Id: <20240705084047.857176-18-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240705084047.857176-1-alex.bennee@linaro.org> References: <20240705084047.857176-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x531.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: Richard Henderson Clang requires the architecture to be set properly in order to assemble the half-precision instructions. Signed-off-by: Richard Henderson Reviewed-by: Akihiko Odaki Message-Id: <20240630190050.160642-13-richard.henderson@linaro.org> Signed-off-by: Alex Bennée --- tests/tcg/arm/Makefile.target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index 95f891bf8c..8e287191af 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -29,8 +29,8 @@ test-arm-iwmmxt: test-arm-iwmmxt.S # Float-convert Tests ARM_TESTS += fcvt -fcvt: LDFLAGS+=-lm -# fcvt: CFLAGS+=-march=armv8.2-a+fp16 -mfpu=neon-fp-armv8 +fcvt: LDFLAGS += -lm +fcvt: CFLAGS += -march=armv8.2-a+fp16 -mfpu=neon-fp-armv8 run-fcvt: fcvt $(call run-test,fcvt,$(QEMU) $<) $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref)