From nobody Sun Dec 19 11:23:21 2021 X-Original-To: dev-commits-src-all@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 6E12D18EBED4; Sun, 19 Dec 2021 11:23:22 +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 4JH0hV0ntJz4W9C; Sun, 19 Dec 2021 11:23:22 +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 F0DFA219C4; Sun, 19 Dec 2021 11:23:21 +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 1BJBNLcN006330; Sun, 19 Dec 2021 11:23:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BJBNLrL006329; Sun, 19 Dec 2021 11:23:21 GMT (envelope-from git) Date: Sun, 19 Dec 2021 11:23:21 GMT Message-Id: <202112191123.1BJBNLrL006329@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: e98efdd97356 - main - Implement suword16() for the 32/64-bit PowerPC architecture. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e98efdd973560e66557f3ab46ca10376acb3c583 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639913002; 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=Hh3/gm3KkjUPETMvKWM4FDLFfcuh5QrtSqBtYoTrT4k=; b=W4dAW0UvXG1E2WyXs/gSQF3rFdAcuD1bIDxU1J8OdpDlXhBt6S4jvA6oos10ifdtQJFzEg LiP5fzht29CzH1SwtOofcnzGIlpbYsNESNpm1q9jxJUfT9tel3VwN1YHM0d1JACa2huMxH 7/B/faAz5VmJLHqkjdWqyJOQmW5AX8sL/620rUznB9dt3yZ+ogJWvBmV9iqpZQupJ3I4fh UGo7ucMl5LNIcUOGOnQdYYjBdKZlEyYYaFqgyxHqqmnzO/wzmf4xSWxiIc4s1rr6zY4Pq3 A11rp1deuAfKEkEtWuOCEbiMRolnqwLzlWmvd8UfEqyio7ptSaodJ+EqttvPmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639913002; a=rsa-sha256; cv=none; b=f4yAOO2T7bpZT9moSrWDMuM/uD7qaQ/N3X7+1+YNtvHLaxgqaj6/jYoAZIWORz+Dpf+9MN PvJxCXiMIcnX8hU29UIdFRfTYzZ14pRt8SCC+l+uZBaFrLQfVV84LtlQea4uldMhdOWBZM YpX0wyv8DXF+0DCRukVKdAGru4NTxipp7wMY6gSQI6V7zBr0hSBNx42QQn0J9jGUrJD5l1 bZlmMUa5gfi5gXfBvsv7ZuUYZc6daaFD4/55Bpm7N87F+pCdm4/Iimi694Z7picERuipYZ mTG4xBgTBvisAGF/GwEvL78CL7VSXbUhT9mpOwcQ4Bs5O7MJHMqym6gDwL7tJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=e98efdd973560e66557f3ab46ca10376acb3c583 commit e98efdd973560e66557f3ab46ca10376acb3c583 Author: Hans Petter Selasky AuthorDate: 2021-12-19 11:19:53 +0000 Commit: Hans Petter Selasky CommitDate: 2021-12-19 11:21:21 +0000 Implement suword16() for the 32/64-bit PowerPC architecture. This fixes compilation of usb(4) after 0ec590d24e415dd36e38648630a0b963412ad87e . MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/powerpc/powerpc/support.S | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/powerpc/powerpc/support.S b/sys/powerpc/powerpc/support.S index 10d3192972d5..89dccd558014 100644 --- a/sys/powerpc/powerpc/support.S +++ b/sys/powerpc/powerpc/support.S @@ -401,6 +401,14 @@ ENTRY_DIRECT(suword) END_DIRECT(suword) #endif +ENTRY_DIRECT(suword16) + PROLOGUE + SET_FUSUFAULT(%r3, %r7) + sth %r4, 0(%r3) + CLEAR_FAULT(%r7) + EPILOGUE +END_DIRECT(suword16) + ENTRY_DIRECT(suword32) PROLOGUE SET_FUSUFAULT(%r3, %r7)