Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FPrKL-0007RV-Dc for qemu-devel@nongnu.org; Sat, 01 Apr 2006 20:24:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FPrKJ-0007RC-AA for qemu-devel@nongnu.org; Sat, 01 Apr 2006 20:24:25 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPrKJ-0007R9-56 for qemu-devel@nongnu.org; Sat, 01 Apr 2006 20:24:23 -0500 Received: from [213.205.33.41] (helo=mail-relay-1.tiscali.it) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FPrN1-0003zr-CG for qemu-devel@nongnu.org; Sat, 01 Apr 2006 20:27:12 -0500 Received: from c1358217.kevquinn.com (84.222.87.21) by mail-relay-1.tiscali.it (7.3.104) id 442A48E20007B004 for qemu-devel@nongnu.org; Sun, 2 Apr 2006 03:24:16 +0200 Date: Sun, 2 Apr 2006 03:26:04 +0200 From: "Kevin F. Quinn" Subject: Re: [Qemu-devel] Missing ARMv6 instructions? Message-ID: <20060402032604.77da0149@c1358217.kevquinn.com> In-Reply-To: <2A5B7FED-E4B6-4F75-AB8C-31E9FD7B90B9@elis.ugent.be> References: <1143921063.6857.79.camel@localhost> <2A5B7FED-E4B6-4F75-AB8C-31E9FD7B90B9@elis.ugent.be> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_n0PJ7jHjCb.XGMRdiOiL3Xj; protocol="application/pgp-signature"; micalg=PGP-SHA1 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --Sig_n0PJ7jHjCb.XGMRdiOiL3Xj Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 1 Apr 2006 23:06:07 +0300 Jonas Maebe wrote: > On 01 Apr 2006, at 22:51, Chris Wilson wrote: >=20 > > and they have been an extensive user of software patents, >=20 > And how: > http://www.patent.gov.uk/patent/legal/summaries/2004/o29204.htm >=20 > "The invention in this case involves locating all of the input =20 > registers in one data storage area, and all of the output registers =20 > in another data storage area. Then the simulator only has to switch =20 > the two storage areas around (eg. by exchanging two pointer values) =20 > in order to effectively COPY all of the output registers to the =20 > corresponding input registers of the next stage in a single =20 > operation. The Hearing Officer concluded that this invention did =20 > involve a technical contribution =E2=80=94 not simply because it produced= a =20 > faster simulator, but because the fundamental construction of the =20 > simulator had been modified." I've got a better idea. In an imaginary 3-stage pipeline, instead of doing: i1[*] -> -> o1[*] i2[*] -> -> o2[*] i3[*] -> -> o3[*] i2[*] =3D o1[*] i3[*] =3D o2[*] which the patent optimises to: i1[*] -> -> o1[*] i2[*] -> -> o2[*] i3[*] -> -> o3[*] i2,o1 =3D o1,i2 i3,o2 =3D o2,i3 how about this: o2i3[*] -> -> o3[*] o1i2[*] -> -> o2i3[*] i1[*] -> -> o1i2[*] which saves mucking around with pointers completely (requires the stages are implemented sequentially not in pararllel, but since we're talking about a software simulation that's likely to be the case). Doesn't break the patent (well, the summary at least) and is a fraction quicker :) To be honest both optimisations are clearly obvious to anyone sufficiently skilled in the field - maybe not so much to hardware engineers who tend to think in parallel but certainly to software engineers who tend to think in series. > In fact, wouldn't surprise me if Qemu violates this patent. Qemu doesn't simulate the pipeline as such as it emulates each instruction completely before starting the next one. Makes things much simpler - if you don't simulate the pipeline, you don't have to simulate flushing it etc :). The patent is talking about much deeper simulation, probably for use in simulating the core in relation to other components, or for use in accurate timing simulations. --=20 Kevin F. Quinn --Sig_n0PJ7jHjCb.XGMRdiOiL3Xj Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFELyg69G2S8dekcG0RAty0AJsEiZryzofyLzjAectsXKfXINrdAACfejg6 AX6dgopvchdvPfYLnqKCM3s= =j90R -----END PGP SIGNATURE----- --Sig_n0PJ7jHjCb.XGMRdiOiL3Xj--