Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262052AbUA3SxV (ORCPT ); Fri, 30 Jan 2004 13:53:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263435AbUA3SxV (ORCPT ); Fri, 30 Jan 2004 13:53:21 -0500 Received: from mx1.redhat.com ([66.187.233.31]:57985 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S262052AbUA3SxQ (ORCPT ); Fri, 30 Jan 2004 13:53:16 -0500 Date: Fri, 30 Jan 2004 13:53:06 -0500 (EST) From: James Morris X-X-Sender: jmorris@thoron.boston.redhat.com To: "Randy.Dunlap" cc: arnd@arndb.de, , Subject: Re: [CRYPTO]: Miscompiling sha256.c by gcc 3.2.3 and arch pentium3,4 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 43 On Fri, 30 Jan 2004, James Morris wrote: > On Fri, 30 Jan 2004, Randy.Dunlap wrote: > > > Here's what I see on x86 and gcc 3.2 (for Linux 2.6.1). > > What Linux version of the code are you looking at? > > > > > > $0x180,%esp: c01fd5aa > > $0x1b0,%esp: c01fecfa > > $0x230,%esp: c0206acd > > $0x10c,%esp: c0205c90 > > $0x1fc,%esp: c01e9ed8 > > $0x120,%esp: c01eb842 > > $0x384,%esp: c01ed988 > > $0x10c,%esp: c01f1c90 > > > > 2.6.2-rc2-mm2 with gcc version 3.3.1 20030915 (Red Hat Linux 3.3.1-5) > Actually, 24 bytes (not 8): c02120b0 : c02120b0: 55 push %ebp c02120b1: 57 push %edi c02120b2: 56 push %esi c02120b3: 53 push %ebx c02120b4: 83 ec 18 sub $0x18,%esp - James -- James Morris - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/