Date: Thu, 29 Jun 2000 23:59:28 -0400 (EDT) From: Robert Muir <rmuir@looksharp.net> To: John Polstra <jdp@polstra.com> Cc: hackers@FreeBSD.ORG Subject: Re: Please run this test on an 80386 Message-ID: <Pine.BSF.4.21.0006292359290.67498-100000@turtle.looksharp.net> In-Reply-To: <XFMail.000629202850.jdp@polstra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
yes, it prints: This CPU does not support the cmpxchg instruction Robert Muir rmuir@looksharp.net On Thu, 29 Jun 2000, John Polstra wrote: > I am making some changes to FreeBSD's dynamic linker which require > the ability to find out whether the CPU running the program supports > the cmpxchg instruction. This instruction was introduced with > the 80486; it did not exist on the 80386. The attached program > attempts to determine whether the cmpxchg instruction is supported. > Unfortunately, I don't have an 80386 to test it on. I would > appreciate it if somebody with FreeBSD running on an 80386 would > compile the program, run it, and send me the output. To compile it, > just type: >=20 > cc -o sigill sigill.c >=20 > and then run it with >=20 > ./sigill >=20 > On an 80386 it should print out >=20 > This CPU does not support the cmpxchg instruction >=20 > Thanks in advance! >=20 > John > -- > John Polstra jdp@polstra.= com > John D. Polstra & Co., Inc. Seattle, Washington = USA > "Disappointment is a good sign of basic intelligence." -- Ch=F6gyam Tr= ungpa >=20 >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006292359290.67498-100000>