From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpYWC-0006Et-Hy for qemu-devel@nongnu.org; Sun, 20 Sep 2009 22:20:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpYWB-0006E6-32 for qemu-devel@nongnu.org; Sun, 20 Sep 2009 22:20:44 -0400 Received: from [199.232.76.173] (port=35076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpYWA-0006E0-VU for qemu-devel@nongnu.org; Sun, 20 Sep 2009 22:20:42 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:38276 helo=grelber.thyrsus.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpYWA-0003Rt-Me for qemu-devel@nongnu.org; Sun, 20 Sep 2009 22:20:42 -0400 From: Rob Landley Subject: Re: [Qemu-devel] [PATCH] Fix extlh instruction on Alpha Date: Sun, 20 Sep 2009 21:20:30 -0500 References: <20090917152502.G54732@stanley.csl.cornell.edu> In-Reply-To: <20090917152502.G54732@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909202120.30891.rob@landley.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Thursday 17 September 2009 14:28:52 Vince Weaver wrote: > The extlh instruction on Alpha currently doesn't work properly. > It's a combination of a cut/paste bug (16 where it should be 32) as well > as a "shift by 64" bug. > > This improves on an earlier patch that used labels, conditional jumps, > and local variables. Thanks go especially to Aurelien Jarno and Andreas > Schwab who have a much better eye for bit-wise TCG optimization than I do. > > Vince Any idea how hard it would be to whip up a qemu-system-alpha emulation? I note that several real-world alpha boards were essentially just a PC with a different processor. (In fact the original Athlon used the Alpha EV6 bus and was pin-compatible, so you could drop-in replace the processor with an Alpha if you could somehow reflash the bios with alpha instructions instead of x86.) I'd like to boot Alpha Linux on qemu, and it doesn't seem like there's _that_ much more to do. But last I asked (a couple years ago) I was told the Alpha protected mode stuff wasn't implemented yet... Rob -- Latency is more important than throughput. It's that simple. - Linus Torvalds