From patchwork Fri Jul 5 08:40:22 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: 810370 Delivered-To: patch@linaro.org Received: by 2002:adf:a199:0:b0:367:895a:4699 with SMTP id u25csp1508307wru; Fri, 5 Jul 2024 01:44:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU+g674Q7g+bhtBqdJQ/bOm+5/dnBAX/iiOW3U9D5PEKXXu3cIK3OORYpG5ArjUWj7mYVRTusvcDZrxxSCATEjE X-Google-Smtp-Source: AGHT+IFJdmASQZ7yaYtXwqaLxUs/2NjgF2ZS1Yi97E7D1XO9NAWN5bJa35whZaZ56PSlZDFOPR7d X-Received: by 2002:a05:600c:4393:b0:424:8f97:8069 with SMTP id 5b1f17b1804b1-4264a3f60b1mr27585775e9.30.1720169075603; Fri, 05 Jul 2024 01:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720169075; cv=none; d=google.com; s=arc-20160816; b=fZYHXYljteRcRDPJrlgDnaypND/XA9H3U/isFr92r749hZdIOA0AqDxx7RgVySsjHZ SxYnAgY/XvEU3/rUktUTefEO2Y81OZiksOCiz6+VKMGk7XGZyaTv9wQn9M8v9KBBPJSh eO4Nrt0DoFJh2l6j+3W4O2Fjw532RTMcrnLarK3+R17vY9+TX0HbbUZAra7bg+zvJyS6 HkySHUSvoSm9drv7fRpk+dwLaV9ejkw1BehubrnbkfHS4pGcS3G1zWJkxCGvXM5O+zq4 oZgNNIub7EVRyF6P7pKTCodzcqUcZpDwEYab7kLUkSIddBgHHUJde7IkKkcrGheAoBH7 O7/A== 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=yZmaG2CChCOyc5PFSRDoUdccfXw50o6nOO/sLxGnTzs=; fh=jJAo5/p0ZYR4zINrfgZ/Zs9vrNoEEOPakMg37pTjRb0=; b=BC2swpTj/YjZDGJlxmNaxbM48RcXZAxnEiUBYMfmQA7DMLzscBUjniWR2dJkgaBw7z L+1Fvj7kcZaCu7LEo+c6xnB8yQgKRUtGzgkXDrtauiAvJoq8VyZQWx6YKYIFji6MWVD8 mYgDLGqavluwtiCBXo3votfWHRcyr7fSNHFzMcwvL5Ns4qFsr7zsVttHE3QAi5N6P/pN JPRJd4nvj+WZLNCCC7RyJNdwXjjzghZwkF0O7qjrm3JQaiRe78JUgLAF3m6EvardQ39u WbOhZt8/ah/eRtG0zc2TJkZ+6VNWEUPvAW29yCXXDzzDpabREIxYYZ8m7zC+YNKXeqpt gYyA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ke+RX4eT; 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 5b1f17b1804b1-4264a1d5a28si18970765e9.67.2024.07.05.01.44.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 Jul 2024 01:44:35 -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=ke+RX4eT; 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 1sPeVT-0000jW-BS; Fri, 05 Jul 2024 04:41:27 -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 1sPeVB-00007t-MZ for qemu-devel@nongnu.org; Fri, 05 Jul 2024 04:41:12 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPeV4-0003Fi-69 for qemu-devel@nongnu.org; Fri, 05 Jul 2024 04:41:09 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a77c9d3e593so54847066b.0 for ; Fri, 05 Jul 2024 01:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720168861; x=1720773661; 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=yZmaG2CChCOyc5PFSRDoUdccfXw50o6nOO/sLxGnTzs=; b=ke+RX4eT7CB4KrEl3t1jZstQnSltMnECh8kAEoz/ez+U97xm7bZLg2VVo4HK3Qhnhh 7YifdZCbpV5SlArmXTroll2yk7tjP1d+HeunxmiYyn/Rqx0SU9jSvaKM23YWHX8ENM/+ eNXfU81UIncjPykU5XYGgaDb8myrYXPsLkEvxu3KLZvz0pFGzYa9sxflSoZtY8TTw+Ak WpCaLQBTfyEruqFxMqqT0HpsijDSqh4AYPmv7r7fAOmCHhOSEDmZqpqVVlAPvq2GaDeN DdhZ3yObW/veUg0LVqQx8C0cuaDbWMrUZRzsx/Ab78GFssckURGMleDSOdZweevZlTsc D0Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720168861; x=1720773661; 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=yZmaG2CChCOyc5PFSRDoUdccfXw50o6nOO/sLxGnTzs=; b=HlsXofAxG5WGimWzQ2My1Abwwz06BlhUzBkj/mVo+DlQwxJwdqmtbZe+r8TfNFVKB/ G56mgYuJbTl73Qiu1UjhCT4cO+fN5Ivlek9YX/aeRWz5HvfmEFXE6LZp8MRunYeghQis bpZMa2BbIq1T9zfW/UXYZEFNedW65GL28ZIJfwoW9YqeJs8M1rAWOg8Vd1gf2xOie0Wn iOcSoZR1lv1NGkjCpFY7MpQFwJmq6GeiosnKG59T0zOQMkG5Yggp1wSBjvyja8dC8t1b B5I/y5VbAQJBRMFC0lf7G+OXnKtUmaAmruOHrz/wsmyKqmEYaSYWxXAyHv4XczV/FwCr dGKQ== X-Gm-Message-State: AOJu0YxoUY8eD9OlGCYha0hdpM+UMT42D6Crc10Choeui82Xu5YnKhx+ YrRFsk6f/Ht4CvDxtHShO9V+BoGfqiOvSreRugfK5M7JE+PicGr9GBAfVbukDuE= X-Received: by 2002:a17:907:104a:b0:a6f:ab9c:7778 with SMTP id a640c23a62f3a-a77ba4c949bmr247996366b.34.1720168860336; Fri, 05 Jul 2024 01:41:00 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a72ab0651easm662620666b.137.2024.07.05.01.40.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jul 2024 01:40:57 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 3122D5F876; 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 15/40] tests/tcg/arm: Use -fno-integrated-as for test-arm-iwmmxt Date: Fri, 5 Jul 2024 09:40:22 +0100 Message-Id: <20240705084047.857176-16-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::630; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x630.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Clang does not support IWMXT instructions. Fall back to the external assembler. Signed-off-by: Richard Henderson Reviewed-by: Akihiko Odaki Message-Id: <20240630190050.160642-11-richard.henderson@linaro.org> Signed-off-by: Alex Bennée --- tests/tcg/arm/Makefile.target | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/tcg/arm/Makefile.target b/tests/tcg/arm/Makefile.target index 0a1965fce7..95f891bf8c 100644 --- a/tests/tcg/arm/Makefile.target +++ b/tests/tcg/arm/Makefile.target @@ -8,6 +8,11 @@ ARM_SRC=$(SRC_PATH)/tests/tcg/arm # Set search path for all sources VPATH += $(ARM_SRC) +config-cc.mak: Makefile + $(quiet-@)( \ + $(call cc-option,-fno-integrated-as, CROSS_CC_HAS_FNIA)) 3> config-cc.mak +-include config-cc.mak + float_madds: CFLAGS+=-mfpu=neon-vfpv4 # Basic Hello World @@ -17,7 +22,8 @@ hello-arm: LDFLAGS+=-nostdlib # IWMXT floating point extensions ARM_TESTS += test-arm-iwmmxt -test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16 +# Clang assembler does not support IWMXT, so use the external assembler. +test-arm-iwmmxt: CFLAGS += -marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16 $(CROSS_CC_HAS_FNIA) test-arm-iwmmxt: test-arm-iwmmxt.S $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)