From nobody Fri Dec 19 17:33:05 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1500563270251917.4164176685285; Thu, 20 Jul 2017 08:07:50 -0700 (PDT) Received: from localhost ([::1]:38468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYD2w-0006EM-T2 for importer@patchew.org; Thu, 20 Jul 2017 11:07:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYD0V-0004Sv-GO for qemu-devel@nongnu.org; Thu, 20 Jul 2017 11:04:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYD0T-0007sC-6g for qemu-devel@nongnu.org; Thu, 20 Jul 2017 11:04:51 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:37963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYD0S-0007qx-Rn for qemu-devel@nongnu.org; Thu, 20 Jul 2017 11:04:49 -0400 Received: by mail-wm0-x22d.google.com with SMTP id w191so29680611wmw.1 for ; Thu, 20 Jul 2017 08:04:48 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id o76sm2738419wmg.43.2017.07.20.08.04.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jul 2017 08:04:38 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 044863E059C; Thu, 20 Jul 2017 16:04:33 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5kkdSuyJz4Y9RxdIXAe7GP7HJRkaOmQYjTRpj/oKD8Y=; b=ZyznB3ciL1sOQJpFA+wnxLaQpdJhDxsSrrcqghiYMuIywxK0L9XoxMaMOQiIqjf7Dk ZoijwjFsk57nhIo+qWeE3BKVJ1lrFNN+f4XUNGsCh6JWi/0aLwJPt7YJjYf203E7Jrgv u5bICrJ+gqDfI+o/2JHAeN6vLFT5qHDMsCDaI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5kkdSuyJz4Y9RxdIXAe7GP7HJRkaOmQYjTRpj/oKD8Y=; b=epLAVktuxyFGqTz8s2bVyvWLz7RoLfOi7keGrAvqADATN0Vw3zK4QItX6hHZ42IZXb xVaJkIiC7KoqzwQGDF1DNZ8RALkfhKMWKxIlJaC/auRDD7RQU72h0spuTFl6BmrxWqWm Ppju82HyaXgVaJE49HTbmjOpDfPhTtSg6OuMsbQ4imKUuFOEmQv7bj9tAtxYMlIWTDQM jKeGZQR4arwFZKUMCyLURaI+ryQ/AMdKlMh4e69mFgm+HglNjflwm37nL1g0A+FrKAOA BCpZZm/m1u9oWYJedQkamw9IeMSi5CHigdcjN6vRJXMaz96CBlyc3gbENDgYS7ebJ62i xgcA== X-Gm-Message-State: AIVw113SjsqctGsJzdI3xp6coUBxY5Fpe3GKcQILk5Ch7mesv7NmaNBE nplLHdk9I6lBQsTo X-Received: by 10.28.58.147 with SMTP id h141mr2765528wma.112.1500563087661; Thu, 20 Jul 2017 08:04:47 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 20 Jul 2017 16:04:11 +0100 Message-Id: <20170720150426.12393-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170720150426.12393-1-alex.bennee@linaro.org> References: <20170720150426.12393-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22d Subject: [Qemu-devel] [RFC PATCH for 2.11 08/23] target-aarch64: enable SoftFloat3 build for FP16 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , qemu-devel@nongnu.org, qemu-arm@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , rth@twiddle.net Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This requires us to output the common build configuration in the target configure files. We also define which bits of SoftFloat3c we need for the target. For Aarch64 we just want the FP16 bits. Signed-off-by: Alex Benn=C3=A9e --- configure | 2 ++ default-configs/aarch64-common.mak | 3 +++ default-configs/aarch64-linux-user.mak | 2 ++ default-configs/aarch64-softmmu.mak | 2 ++ 4 files changed, 9 insertions(+) create mode 100644 default-configs/aarch64-common.mak diff --git a/configure b/configure index 4778eaa8c8..4c4dbf8bf3 100755 --- a/configure +++ b/configure @@ -6128,6 +6128,7 @@ echo "# Automatically generated by configure - do not= modify" > $config_target_m =20 bflt=3D"no" mttcg=3D"no" +softfloat3=3D"no" interp_prefix1=3D$(echo "$interp_prefix" | sed "s/%M/$target_name/g") gdb_xml_files=3D"" =20 @@ -6156,6 +6157,7 @@ case "$target_name" in TARGET_BASE_ARCH=3Darm bflt=3D"yes" mttcg=3D"yes" + softfloat3=3D"yes" gdb_xml_files=3D"aarch64-core.xml aarch64-fpu.xml arm-core.xml arm-vfp= .xml arm-vfp3.xml arm-neon.xml" ;; cris) diff --git a/default-configs/aarch64-common.mak b/default-configs/aarch64-c= ommon.mak new file mode 100644 index 0000000000..582933bd13 --- /dev/null +++ b/default-configs/aarch64-common.mak @@ -0,0 +1,3 @@ +# Common for all aarch64 + +CONFIG_SOFTFLOAT3_FP16=3Dy diff --git a/default-configs/aarch64-linux-user.mak b/default-configs/aarch= 64-linux-user.mak index 0a5b08a007..9a65f643b1 100644 --- a/default-configs/aarch64-linux-user.mak +++ b/default-configs/aarch64-linux-user.mak @@ -1 +1,3 @@ # Default configuration for aarch64-linux-user + +include aarch64-common.mak diff --git a/default-configs/aarch64-softmmu.mak b/default-configs/aarch64-= softmmu.mak index 24494832cf..f6bf6b2ee7 100644 --- a/default-configs/aarch64-softmmu.mak +++ b/default-configs/aarch64-softmmu.mak @@ -1,5 +1,7 @@ # Default configuration for aarch64-softmmu =20 +include aarch64-common.mak + # We support all the 32 bit boards so need all their config include arm-softmmu.mak =20 --=20 2.13.0