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: 791637 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ZyznB3ci"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xCy0C3zXWz9rxm for ; Fri, 21 Jul 2017 01:06:19 +1000 (AEST) Received: from localhost ([::1]:38463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYD1s-00057X-D8 for incoming@patchwork.ozlabs.org; Thu, 20 Jul 2017 11:06:16 -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=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 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+incoming=patchwork.ozlabs.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 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