From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12966 Path: news.gmane.org!.POSTED!not-for-mail From: David CARLIER Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] optimize explicit_bzero for size Date: Thu, 28 Jun 2018 20:42:13 +0100 Message-ID: References: <20180628175729.4391-1-amonakov@ispras.ru> <20180628193547.GI1392@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1530214833 28509 195.159.176.226 (28 Jun 2018 19:40:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 28 Jun 2018 19:40:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12982-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jun 28 21:40:28 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fYcmK-0007Kw-AR for gllmg-musl@m.gmane.org; Thu, 28 Jun 2018 21:40:28 +0200 Original-Received: (qmail 31744 invoked by uid 550); 28 Jun 2018 19:42:37 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30696 invoked from network); 28 Jun 2018 19:42:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=SK+tZZj+txEjVi4MmZKFFXiHVpjO4U2p6qwtt0hMrZo=; b=Ob8ZQ0S1VpT+C2Rw8PrDH1K/lmf/mHUQGyRbEPVUA6/xqXsp9cdTfb/Za9TK3oCHD6 bNSE1Zt1ihWUK7mOGfHgOEGRPww1ZUriWT4unVYzEoZ7hIVrKlMZaBwx0LE51EcNX+ZF +WERsSX5a1mNUs6VM4m+3adrpqBC0UJQ4DWGqeXELEJo3PEmFALw9zN7sHs69gvkqedz pBO48FydhKNuLs5cDpcIar7s/e4UBgsbjN6eX44JsPXToIUrTKWXdeDFw1DdgbOMiXSk fOBjWA/ON01MRDDJ4Ns6RMoQgzX/HwvdZlnKM/JKLekFNLYxxUZA9DpVUhiD9DqCHj0E 0/sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=SK+tZZj+txEjVi4MmZKFFXiHVpjO4U2p6qwtt0hMrZo=; b=hJljdkHGAIdO99p51hnPMYB9HbxhgkCUm0RimRU9+uMXOUB/WHtgtW9LCk08LkWvN1 v73hXPJ0a032giNYp4xQ1OZEbT8te4KEaxBDjdtZ8VMVI7pRlyEgrXdAjCoBVSaa71o/ YMUZpwHUQA3vSJxpgtWTcPq2E5rTjvuTy6yXRy+Sm7UHLmu3QaUWZFdr8jtGX5cgQLXI yZ4sMmgx3iMurfNpYN1Wx4F8CcfC/uIQchZd454MvbcjEnmk6q5SqmdGBLIHDRYEjLdg nfaYuN4gwFuRb2agIwZfcK0xyNvn3J/xCHeQmG9dmGhIqj55ghjmEDz21TtTcJNBj+zT Hevw== X-Gm-Message-State: APt69E30zreGCn1yQlO9OrOTpXPW3MCL0VYP/OAP84A3JOS3g7TG9cWH XPJ/vVGdoMMp7dcg3yC4oVkmOxG8/PAEZQmWXcs= X-Google-Smtp-Source: AAOMgpc3Bx92sWuT1hczygkbe81e5n+2Lo/y+QA+YEFv2cPpU79yhnNw0V9+360HcnSoavq6jaY80VDs34JGnqjd4Us= X-Received: by 2002:a9d:446c:: with SMTP id f41-v6mr6758509otj.194.1530214944401; Thu, 28 Jun 2018 12:42:24 -0700 (PDT) In-Reply-To: <20180628193547.GI1392@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:12966 Archived-At: On Thu, 28 Jun 2018 at 20:36, Rich Felker wrote: > > On Thu, Jun 28, 2018 at 08:57:29PM +0300, Alexander Monakov wrote: > > Avoid saving/restoring the incoming argument by reusing memset return value. > > --- > > Why not even though I m wondering if this saving/restoring really occurs/instruction really generated with last compilers. Prefer Alexander's version otherwise :-)