From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#46111: Reverting fns.c hash function due to OpenBSD/SPARC64 compile breaking Date: Thu, 28 Jan 2021 12:30:22 -0500 Message-ID: References: <87sg6oyzi6.wl-me@enzu.ru> <6915951F-2A53-4B08-A48A-6683B99AA14A@gnu.org> <871re5vh7a.fsf@ultra.enzu.ru> <8335ylytpf.fsf@gnu.org> <83zh0tx9g8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30674"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46111-done@debbugs.gnu.org, me@enzu.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 18:31:44 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5B8w-0007rb-MX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 18:31:42 +0100 Original-Received: from localhost ([::1]:39712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5B8v-0007Sn-MD for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 12:31:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5B8I-0007Qb-BJ for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 12:31:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5B8I-0004Gw-3k for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 12:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5B8I-0005PM-0g for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 12:31:02 -0500 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46111 X-GNU-PR-Package: emacs Mail-Followup-To: 46111@debbugs.gnu.org, monnier@iro.umontreal.ca, me@enzu.ru Original-Received: via spool by 46111-done@debbugs.gnu.org id=D46111.161185503320729 (code D ref 46111); Thu, 28 Jan 2021 17:31:01 +0000 Original-Received: (at 46111-done) by debbugs.gnu.org; 28 Jan 2021 17:30:33 +0000 Original-Received: from localhost ([127.0.0.1]:49924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5B7o-0005OG-RH for submit@debbugs.gnu.org; Thu, 28 Jan 2021 12:30:33 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5B7m-0005Ny-LD for 46111-done@debbugs.gnu.org; Thu, 28 Jan 2021 12:30:31 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E4D1A809A7; Thu, 28 Jan 2021 12:30:24 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9056180602; Thu, 28 Jan 2021 12:30:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611855023; bh=31J2qBOK5vHroV7KWfLc4YlCeO7Muisg0pheJjrS5+4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dsvQB+aRTeIcUMeKNeFD7vGnwMQLjyzyupJqULwiKOQeMfnok+klQ3/m/qs4ZNAsC ta6Xxy7ig6BHkXtPZ1EodxFteBRe1+KXSKkYGGHNdGiDdrOM9dhVSikQhIL7V3Cpkf KoNQKCGdyaukPe0Yt7qIrgRBBHljX3LJRUF7V91pj7KRJmcIdQw0Eo+zyzmPNqn9J/ QWRkYuJ13VaHEaG6T2KlD/5DM1Ond3guHiUtLuVs90oKSRqM8DcOKyfBrjft4y8FsZ 4c9xD8WLADDAmXlj3LygLsKjwnEIEujTNki7WPmcF2ArvyzFe461k8+7JETZa0TgOl +SCQj1geKhvUg== Original-Received: from alfajor (69-196-141-46.dsl.teksavvy.com [69.196.141.46]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5FF351201E0; Thu, 28 Jan 2021 12:30:23 -0500 (EST) In-Reply-To: <83zh0tx9g8.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Jan 2021 19:22:47 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:198813 Archived-At: > AFAIK, memcpy itself optimizes: once it gets to aligned address, it > starts copying words instead of bytes. I don't know what this `memcpy` code expands to on sparc64, but since it turns into a plain `mov` on x86, I simplified the code to always use `memcpy`. Stefan