From patchwork Thu Jul 20 15:04:11 2017 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: 108357 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2254144qge; Thu, 20 Jul 2017 08:07:37 -0700 (PDT) X-Received: by 10.55.198.4 with SMTP id b4mr5439115qkj.200.1500563257192; Thu, 20 Jul 2017 08:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500563257; cv=none; d=google.com; s=arc-20160816; b=XFr34P5iOv2nDlfeU+sBcC2d5x/NzO3ypOonpqmNzzYV8aT1cfzbYoQQvJh9eNyuRA fIjTFi7Ei/hNVhzpuAGigpx9MXEBO2yTElcm7hDlObdUK8w7M7OXnY64CFPwGLl6C1g0 4Y5IOHRF/6RB0TrUVIGJPiTyrHTn8S73Xgw0gdpgL/MB1AbrolWvq/K3plR/w0BphDZj gvpcRnCoTXZR0mn8731MhGd5P1LVsmrHgkC/VejFEPs7m9KfFiV2Kf1FwqHVOttORGVt 3Qagn5UNIpzl0NdLjvanUNvUFtq6yhRxSz6PsaamNek714ZSvU9CsytfGn4TomkTOzsd JHDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=5kkdSuyJz4Y9RxdIXAe7GP7HJRkaOmQYjTRpj/oKD8Y=; b=0bJXzllFrpTRxuH4BfMV2CWoQx+Q0uyXDDP1smhuGtXhwje8d5OLQpXUFR9wMvJOfV 77TwtXkOnUiY/AR23Rt4ObxlCdcvswgd++JShwebp2HZ6DDmR7gqfUoyiJPmRzu4yemj sX3nbhJRsFiE6t2hm8tYkF0YQ/Di03gdh1Ze2+8ZDgswRaE2s4Eh+aRkqm0S9J5HwIR2 LpjRK9VCmrP6aaUlVOt952ANben2yo8FtC4MCr9qi91/tqcDv25QsI0NrebipF/RmiF3 kz2nCivyUygDEWn1MVFRFeYrACqLtLNGpJA6sCgf0DihloefQblrvQyiwK3hmxeF0At2 M11w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=ZyznB3ci; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id l41si2072041qtf.200.2017.07.20.08.07.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 20 Jul 2017 08:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=ZyznB3ci; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:38468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYD38-0006EM-Ch for patch@linaro.org; Thu, 20 Jul 2017 11:07:34 -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) 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) 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) From: =?utf-8?q?Alex_Benn=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 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_Benn=C3=A9?= =?utf-8?q?e?= , rth@twiddle.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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ée --- 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 -- 2.13.0 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 bflt="no" mttcg="no" +softfloat3="no" interp_prefix1=$(echo "$interp_prefix" | sed "s/%M/$target_name/g") gdb_xml_files="" @@ -6156,6 +6157,7 @@ case "$target_name" in TARGET_BASE_ARCH=arm bflt="yes" mttcg="yes" + softfloat3="yes" gdb_xml_files="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-common.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=y diff --git a/default-configs/aarch64-linux-user.mak b/default-configs/aarch64-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 +include aarch64-common.mak + # We support all the 32 bit boards so need all their config include arm-softmmu.mak