From nobody Thu Oct 20 16:49:11 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MtYTg2Hffz4g2ms; Thu, 20 Oct 2022 16:49:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MtYTg1pY1z4GDJ; Thu, 20 Oct 2022 16:49:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666284551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DaPnxI3rmgZXcvk9TiH55GQh2/wvhqmy6kUW3j7VVpQ=; b=DAOeHXA2PzCccc5kY2H/ucR0LvQnqzFC1WsJrLp+EHcjzJzf1NMqLWVSQj8PjQCex4tkAp io+2Odct0AvIH28bs83W5TLEGryv1Ojt04H7DZTt3v1hjG7AOvhToYy6fG6J/yWv9A5wTf S8Ev+RpA6o7I3guM9HtgN0L8iR6CJfrjQdfafbkCkND6M/cBuqXokh7zs/sCK2K6XaGaPh +bNc1eA/3SoRJ+OMT7d1Hf64+4ITOkUyBiMxt5OMxT9vnN6mQK5+JUvCZyD6HG/orl8R+f KUzQ5tNV1i1FETj8DT0eklVAEA/dE0NHY6zLDDrjp6e16ZaiZVeWlLvRpOAyew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MtYTg0tGdzwS0; Thu, 20 Oct 2022 16:49:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29KGnBBW015427; Thu, 20 Oct 2022 16:49:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29KGnBdK015426; Thu, 20 Oct 2022 16:49:11 GMT (envelope-from git) Date: Thu, 20 Oct 2022 16:49:11 GMT Message-Id: <202210201649.29KGnBdK015426@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e32e6e42fab3 - main - arm: Remove unused ffs.S List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e32e6e42fab35739e9a51309f316e2272081e0db Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666284551; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DaPnxI3rmgZXcvk9TiH55GQh2/wvhqmy6kUW3j7VVpQ=; b=AP7QVb2Ff04pDxl6x87P53XtaEhjRO40ReKBrtJZ3VoVKE2y/YJFuG7SSooumpF6PVZRaq n2pFoBwtUGVL3/SMT0NsImKGrw/+0Z56Xqj+tnWTatURE89QWZrCyzOa6dxC19uhorJubj SAuLsyM8wEAnjXzL7/pb6E7tV8lYMoRJ7CttcRQB51oN1rmNSjVh+wbCklVEVri9IiZKDj m5NS4bA0pz/T8h/CUKKSYBlCG4GkwkMDi9FR5qcZO4BVpNLYh8awCJVh5GYpikIRq/T18I zlFND9ATws2RduCsUUoRRlvUgr14DMc4sdHyj1Q69CacjaejctEyzf/XvYsGMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666284551; a=rsa-sha256; cv=none; b=UkwV5IGFEB/WdDgmjwp4nCgrK0EoCvJgAlMPKDuLLCLMegts5F2s7b9CrnKYKNEYRgbD20 kKK+15e4Qrh17k/ovcsiiFyHIryENZujqLpm+wKWjvdtQOdJifV8uJEKf0hku6INBA482F 8kdTOdEPsOu0w8QvNWSaNvsJJNe9EWuTvCQLrZFCTBoiiboZSTmKl0DdTdVBfr6LSOCtQA eZu85BtuG9p/kOFjkqnRAEI5BJEeG49/DrPauugw2nj4J4euUV4kPVpPxRfUTpZ+EslgMC yK60e0fvJJqWvAs2pzYLVb2/QUI4nN91dmcqGH/ZmNkJ5zFKAOSVvToj1o5QbQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e32e6e42fab35739e9a51309f316e2272081e0db commit e32e6e42fab35739e9a51309f316e2272081e0db Author: Warner Losh AuthorDate: 2022-10-20 15:34:56 +0000 Commit: Warner Losh CommitDate: 2022-10-20 16:48:31 +0000 arm: Remove unused ffs.S We've not used ffs.S since we retired armv[45] support. Remove it from the tree. Suggested by: andrew in D37069 Sponsored by: Netflix --- sys/libkern/arm/ffs.S | 58 --------------------------------------------------- 1 file changed, 58 deletions(-) diff --git a/sys/libkern/arm/ffs.S b/sys/libkern/arm/ffs.S deleted file mode 100644 index 871ca64b9a84..000000000000 --- a/sys/libkern/arm/ffs.S +++ /dev/null @@ -1,58 +0,0 @@ -/* $NetBSD: ffs.S,v 1.3 2003/04/05 23:27:15 bjh21 Exp $ */ -/*- - * Copyright (c) 2001 Christopher Gilbert - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the company nor the name of the author may be used to - * endorse or promote products derived from this software without specific - * prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, - * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR - * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#include -__FBSDID("$FreeBSD$"); - - .syntax unified - -/* - * ffs - find first set bit, this algorithm isolates the first set - * bit, then multiplies the number by 0x0450fbaf which leaves the top - * 6 bits as an index into the table. This algorithm should be a win - * over the checking each bit in turn as per the C compiled version. - * - * under ARMv5 there's an instruction called CLZ (count leading Zero's) that - * could be used - * - * This is the ffs algorithm devised by d.seal and posted to comp.sys.arm on - * 16 Feb 1994. - */ - -ENTRY(ffs) - - /* Standard trick to isolate bottom bit in r0 or 0 if r0 = 0 on entry */ - rsb r1, r0, #0 - ands r0, r0, r1 - clzne r0, r0 - rsbne r0, r0, #32 - RET -END(ffs) -