From owner-cvs-all Fri Oct 12 9:49:37 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 10CF837B405; Fri, 12 Oct 2001 09:49:29 -0700 (PDT) Received: (from jdp@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9CGnTU21379; Fri, 12 Oct 2001 09:49:29 -0700 (PDT) (envelope-from jdp) Message-Id: <200110121649.f9CGnTU21379@freefall.freebsd.org> From: John Polstra Date: Fri, 12 Oct 2001 09:49:29 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 identcpu.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jdp 2001/10/12 09:49:28 PDT Modified files: sys/i386/i386 identcpu.c Log: Correct the input/output/clobber specifications for the cpuid instruction. Stefan Keller noticed that CPU identification was broken when compiled with -O2, and tracked it down to the asm statement, which was storing values into memory without specifying that memory was modified. He submitted a patch which added "memory" as a clobber, but I refined it further to arrive at this version. MFC after: 3 days Revision Changes Path 1.95 +4 -9 src/sys/i386/i386/identcpu.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message