From owner-dev-commits-src-main@freebsd.org Mon Aug 23 18:38:12 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 361C866FD18; Mon, 23 Aug 2021 18:38:12 +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 4Gtgwh12L2z4tkq; Mon, 23 Aug 2021 18:38:12 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0AEEE193E0; Mon, 23 Aug 2021 18:38:12 +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 17NIcBHU005986; Mon, 23 Aug 2021 18:38:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17NIcBX0005985; Mon, 23 Aug 2021 18:38:11 GMT (envelope-from git) Date: Mon, 23 Aug 2021 18:38:11 GMT Message-Id: <202108231838.17NIcBX0005985@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 8e4f67f17ff2 - main - i386: retire bcmp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8e4f67f17ff27371c6d06c4143807e293f07c51e Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2021 18:38:12 -0000 The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=8e4f67f17ff27371c6d06c4143807e293f07c51e commit 8e4f67f17ff27371c6d06c4143807e293f07c51e Author: Mateusz Guzik AuthorDate: 2021-08-23 16:27:17 +0000 Commit: Mateusz Guzik CommitDate: 2021-08-23 18:38:04 +0000 i386: retire bcmp Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero) routines.") Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/i386/i386/support.s | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s index b29354c47455..2fc02a67b600 100644 --- a/sys/i386/i386/support.s +++ b/sys/i386/i386/support.s @@ -232,31 +232,6 @@ ENTRY(memcpy) ret END(memcpy) -ENTRY(bcmp) - pushl %edi - pushl %esi - movl 12(%esp),%edi - movl 16(%esp),%esi - movl 20(%esp),%edx - - movl %edx,%ecx - shrl $2,%ecx - repe - cmpsl - jne 1f - - movl %edx,%ecx - andl $3,%ecx - repe - cmpsb -1: - setne %al - movsbl %al,%eax - popl %esi - popl %edi - ret -END(bcmp) - /* * Handling of special 386 registers and descriptor tables etc */