From owner-svn-src-stable@freebsd.org Wed Jul 26 23:14:23 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 112A1DB3192; Wed, 26 Jul 2017 23:14:23 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D118E7FB1E; Wed, 26 Jul 2017 23:14:22 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6QNEMiw041503; Wed, 26 Jul 2017 23:14:22 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6QNEMmV041502; Wed, 26 Jul 2017 23:14:22 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201707262314.v6QNEMmV041502@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Wed, 26 Jul 2017 23:14:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r321593 - stable/11/sys/libkern/arm64 X-SVN-Group: stable-11 X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: stable/11/sys/libkern/arm64 X-SVN-Commit-Revision: 321593 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jul 2017 23:14:23 -0000 Author: emaste Date: Wed Jul 26 23:14:21 2017 New Revision: 321593 URL: https://svnweb.freebsd.org/changeset/base/321593 Log: MFC r319718: arm64: add ".arch armv8-a+crc" to allow use of crc instructions With Clang 5.0 the .arch directive is required, otherwise Clang complains "error: instruction requires: crc". This was reported in D10499 but not added initially, because clang 3.8 available on a ref machine reported unknown directive. Clang 4.0 allows but does not require the directive. Sponsored by: The FreeBSD Foundation Modified: stable/11/sys/libkern/arm64/crc32c_armv8.S Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/libkern/arm64/crc32c_armv8.S ============================================================================== --- stable/11/sys/libkern/arm64/crc32c_armv8.S Wed Jul 26 23:05:25 2017 (r321592) +++ stable/11/sys/libkern/arm64/crc32c_armv8.S Wed Jul 26 23:14:21 2017 (r321593) @@ -27,6 +27,7 @@ #include __FBSDID("$FreeBSD$"); +.arch armv8-a+crc /* * uint32_t