Date: Fri, 12 Oct 2001 09:49:29 -0700 (PDT) From: John Polstra <jdp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 identcpu.c Message-ID: <200110121649.f9CGnTU21379@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <dres@earth.serd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110121649.f9CGnTU21379>