From owner-svn-src-head@freebsd.org Thu Jun 8 20:06:11 2017 Return-Path: Delivered-To: svn-src-head@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 28F31C78E15; Thu, 8 Jun 2017 20:06:11 +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 E128F6FDA2; Thu, 8 Jun 2017 20:06:10 +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 v58K69ep062608; Thu, 8 Jun 2017 20:06:09 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v58K69Ee062607; Thu, 8 Jun 2017 20:06:09 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201706082006.v58K69Ee062607@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Thu, 8 Jun 2017 20:06:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r319718 - head/sys/libkern/arm64 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 20:06:11 -0000 Author: emaste Date: Thu Jun 8 20:06:09 2017 New Revision: 319718 URL: https://svnweb.freebsd.org/changeset/base/319718 Log: 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. Submitted by: andrew MFC after: 1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/libkern/arm64/crc32c_armv8.S Modified: head/sys/libkern/arm64/crc32c_armv8.S ============================================================================== --- head/sys/libkern/arm64/crc32c_armv8.S Thu Jun 8 19:40:00 2017 (r319717) +++ head/sys/libkern/arm64/crc32c_armv8.S Thu Jun 8 20:06:09 2017 (r319718) @@ -27,6 +27,7 @@ #include __FBSDID("$FreeBSD$"); +.arch armv8-a+crc /* * uint32_t