From patchwork Fri Oct 27 12:48:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 117319 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp731394qgn; Fri, 27 Oct 2017 05:49:20 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Rey7lvRkUwgAHCbvK5sadV0pcsjjAA0V1SUpIt3lrCaQHO1qAdtD+543wxUHjqrYAgjM0J X-Received: by 10.98.141.202 with SMTP id p71mr418180pfk.18.1509108559981; Fri, 27 Oct 2017 05:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108559; cv=none; d=google.com; s=arc-20160816; b=sLsTPSKHd6s9MnaBJ1vjmsvYxoiSBogRUb0wcAqU0f7WwkI3cHb5EdbMkmqncjNb1+ UFI1tnN06arzg5Z7jDugLlJrTaJ/KVsdKSkUmwMjxpE4pvjw+1tMAypjCjG2xUwScFyi nzSbAAg+cyEdgtj8iI9/y6sMNNlcfzdam8u9XK1X1YheREm6ybfJ2DEjn9uoOmntEi5k MHL5UkpqwzkCQ2Gi0Ajk7FWbrdHrK+tHIRw+C+9L36DKF5RCHZDA4JZ/AhiQrQz1Gi8D WfD9qAfns+oI2IH+Ir6rt+bPioWCC2QH6aSxbLgw7C9Xa8WZlE5Y8u00oUcHM2omB72i zwIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-subscribe:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=ivynzROH16DcLkaA2LKeuEdNgVCx8r18EEHSwg9x8tw=; b=CoBLSR9qyal4GY4QEH8sYi048tzeFDXS+/llB6H9cJjnE9vvF0BlCutGW+wpE4hBdY hUW9151fXbNOerbZ7up+Z9KJrISAZPBb4GgOMpGAbShxxOCoBJxAEQwzTbErRtIxagPR 8DaMJ2Bo6bqKPdBRvl2vTnujZR7wBx+wvj92YaqhnlJmQG+Cs+s6Al1XU1Y7r1GLB2H4 VIunMdBbRF+IpWC59K/Zx6BTUz21CE6bu9gAOx8SjVemCePWNgtmkcS7U3eatGsQM06l pC74C1xzYPI+pwy50Ibiend5BE1YepZQXij/GkUJokrDzuPf0m3qN/5USiIGZPMIqnDu bccg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=xO8KwwhM; spf=pass (google.com: domain of binutils-return-99020-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-99020-patch=linaro.org@sourceware.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id u27si4893495pgo.729.2017.10.27.05.49.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:49:19 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-99020-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=xO8KwwhM; spf=pass (google.com: domain of binutils-return-99020-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-99020-patch=linaro.org@sourceware.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=g6X0gdPtNdWgRV3OsrqJJspw7mca9Bg8S46SWLdcaCX3XgfXKbiyt Fwl1YtDdR7cAzx+cJrMk4A2h8MXx2M4fXxDTa02+scgd5yms1NqEuL9qJxKQ4unX u2FMCC7M8gRSxK2kr3X9p/qsQgmQGJbE/nUJWBiJNYaDBC6R8k6yvc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=yhIX6prNKJioXz7OwxsV6mw9rj4=; b=xO8KwwhM4uDcDvkN13toKgT+iL5W JCSTihB0/HzmeGdcT81SJCIM/6aiSNotdlN7jE8p+qfiVPnONdSzkan4CnA7JtLB nD+W+pOybFYw4cem5o6gaVsgBRDxcbSJUfek1JENpjB9s0cshDkONN3Ow+rBiWw7 N9J/8vaZ67rx3zM= Received: (qmail 122346 invoked by alias); 27 Oct 2017 12:49:05 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 121527 invoked by uid 89); 27 Oct 2017 12:49:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: homiemail-a52.g.dreamhost.com Received: from sub5.mail.dreamhost.com (HELO homiemail-a52.g.dreamhost.com) (208.113.200.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Oct 2017 12:49:03 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id 5FB9F6003E15; Fri, 27 Oct 2017 05:49:02 -0700 (PDT) Received: from devel.in.reserved-bit.com (unknown [202.189.238.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id 49C946003E14; Fri, 27 Oct 2017 05:49:01 -0700 (PDT) From: Siddhesh Poyarekar To: binutils@sourceware.org Cc: Siddhesh Poyarekar Subject: [PATCH 1/2] aarch64: Remove AARCH64_FEATURE_F16 from AARCH64_ARCH_V8_2 Date: Fri, 27 Oct 2017 18:18:38 +0530 Message-Id: <1509108519-16813-1-git-send-email-siddhesh@gotplt.org> From: Siddhesh Poyarekar The FP16 feature is optional in ARMv8.2, so it is wrong to add it to the default AARCH64_ARCH_V8_2 feature flags. This patch makes the behaviour consistent with that of gcc, which also does not assume FP16 for ARMv8.2. * include/opcode/aarch64.h (AARCH64_ARCH_V8_2): Drop AARCH64_FEATURE_F16. --- include/opcode/aarch64.h | 1 - 1 file changed, 1 deletion(-) -- 2.7.5 diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index c5788e2..ea45a41 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -70,7 +70,6 @@ typedef uint32_t aarch64_insn; | AARCH64_FEATURE_RDMA) #define AARCH64_ARCH_V8_2 AARCH64_FEATURE (AARCH64_ARCH_V8_1, \ AARCH64_FEATURE_V8_2 \ - | AARCH64_FEATURE_F16 \ | AARCH64_FEATURE_RAS) #define AARCH64_ARCH_V8_3 AARCH64_FEATURE (AARCH64_ARCH_V8_2, \ AARCH64_FEATURE_V8_3 \