From patchwork Sun Jun 30 19:00:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 808698 Delivered-To: patch@linaro.org Received: by 2002:adf:fe0a:0:b0:362:4979:7f74 with SMTP id n10csp1271459wrr; Sun, 30 Jun 2024 12:03:16 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCU55Ax0Cx1izUrdhZ4FlVvCCqmintctg5cf/yEEQgkTyk+Jp/Sl6cb9me/+93Zvw20AC1GvhjodqUPsC31YEqLi X-Google-Smtp-Source: AGHT+IGg6Kb7D8N2dINRgxFEDwe+wRqSxOWYQsTvMfgfsszHh0RlU/aseFtJsMQVEF3J50MUU59D X-Received: by 2002:a05:622a:148c:b0:446:363c:355d with SMTP id d75a77b69052e-44662e5488cmr34615811cf.54.1719774196535; Sun, 30 Jun 2024 12:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719774196; cv=none; d=google.com; s=arc-20160816; b=TJkUC6wvuLdo1RjaGMIeyiavxkPjsjHPHFF5ts5P97l+det+P+Kq428Mg/Hn0xZJ13 poaovC/lxQlTNSoFvUTrQcHpdS6v1ZMZxsZ+ge/S+l6KRa5qXLg/qllh3d9CRrMfsq0h NG1OkDMwlIxzhcwCANqtAqr9jFaccKwkHWMMLFQ3Juvhh4eGeIzYm+UygHl+aGNm4p9D f1lW1K9w2lee9nRsGLiRhr/5bD6eMpRnyqFBGNO+VntlaLoI/fbtka37cilIbGd/wos1 CMNaROqS6ZESVOeb7VPHFj9VUjZXnKwx9C0KtfCs/af0si0On425MQ0OrXaHmYXM+g/6 9dYA== 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=RGOc0p/wwE/PuqcJ9S9lIVymEvPJ2X+gCQchQONAjmE=; fh=m75Mm+Gv5Bbap8d+kXNEQQV4hpb219dTdfnHt9ctQLQ=; b=yHKaaHCJjRoLbA3dQxfUCJF8p09RVbFy6TsmqxCn5Ffvb4aC8nZV6jfCCrqHJdy+g6 kBqldlAJpYfhacUTGzl9fyRLMZQ7o1jAp8lhql9cXU02hbLbOCL+IckeERMcfehbzpSW x4bk+b6XANBrlhK1rwGE2uOLP1knmUoT2v+s5h/9CRkV3F9RfMUhMYG4jWV+PS+IIgRy MwXjaOIg/sgW+g+y5FG6QaDrD/Mf02Gv0CqB+NjQjKx1RdUh79eHORDTFTM0KsRFGFNX BQphD5fq3h95NBbo9UWxn4ErJaNGMPEnjxem3Dat85L+KocDaoKIb8rloVcLhWCZChZh vfUQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jLD29yoS; 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 d75a77b69052e-446516e508esi65881901cf.804.2024.06.30.12.03.16 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jun 2024 12:03:16 -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=jLD29yoS; 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 1sNzo1-0005Ms-Jb; Sun, 30 Jun 2024 15:01:45 -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 1sNznR-0004tl-8z for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:09 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNznL-0007Y7-K6 for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:08 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-70aaab1cb72so979421b3a.0 for ; Sun, 30 Jun 2024 12:01:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719774062; x=1720378862; 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=RGOc0p/wwE/PuqcJ9S9lIVymEvPJ2X+gCQchQONAjmE=; b=jLD29yoSQztoXt7ksbZ6HGrAUjSjeE9jRKjMI8OEJN8dTDLigjwiNzXk4BMUmAjRme IxrD0vRTtM+uNK9Y9kzv8BXPNbPeh4VxLG7rp91W3gsmPEDFsYLNVzhdagGd3W/xsK33 I+sd4lky/wWdx4j1EwiXdyQHor2cgG2aXpxofbcxBliO1IX86aA71PeVSmsTqbU9wmZU gFc5ww7AqNRvE2lUm6D3clgoMCtyOhXOG6qZZ5n7tXmnQtqltMJXzFQwuMwOEiNXw+EY 1lxRKeCqbLyOzUhTHxuysQYo4SNy9hEdOaRNZjEr1eWtT5TmM5nBZBtm9bMWDvDG0O/I lqzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719774062; x=1720378862; 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=RGOc0p/wwE/PuqcJ9S9lIVymEvPJ2X+gCQchQONAjmE=; b=Le4u3Xndhw9biLkH20L37zw5kN684zI6Npo0TCBCbzZhrcFVy5AEqC5H7ztUOpBZ+C 1eijzf6fq1VVWakH/q6zGCW3g2Rvk4ZruoKH0XikqFUWB/NeTxROHiPtlk3k7ppCabUq qNTOyggaEt3g5r3BMoc/8Wb6NgBDHxh1RJZ5ST4WIOxTrm1wMuhT/EeCOMjqgsC0KyIQ bLubAyNG03/QobXOCvhWIk4ObZJ7qetLAiyt0g6hwMcOWt5ldaRMk7xpqVU+dKCn6z8p goBZDnPw+aUtTfojTJmECuzE4zZCZXvl3cYvgYGgQkney9jnLQF9Dp+gdMoboDIn/Cv6 dmkw== X-Gm-Message-State: AOJu0YxOXlE+3Vbp9JID/dij6uvqopMNBRpybQuarwVEhw/eMcXk6f+S gaq35W3HthZU0MFjBGqlQDUEIW5U/oxE1V0+04d6drw1XyeQmd5vfpGzS01QX+ZppUvzCf6Cfgs D X-Received: by 2002:a05:6a20:da97:b0:1be:f8e0:abac with SMTP id adf61e73a8af0-1bef8e0adb8mr6733442637.45.1719774061910; Sun, 30 Jun 2024 12:01:01 -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.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 12:01:01 -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 10/14] tests/tcg/arm: Use -fno-integrated-as for test-arm-iwmmxt Date: Sun, 30 Jun 2024 12:00:46 -0700 Message-Id: <20240630190050.160642-11-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x433.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 Clang does not support IWMXT instructions. Fall back to the external assembler. Signed-off-by: Richard Henderson --- 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)