Received: from eggs.gnu.org ([208.118.235.92]:36842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScpPS-0008Cf-Gp for qemu-devel@nongnu.org; Thu, 07 Jun 2012 22:58:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ScpPQ-0003M7-IO for qemu-devel@nongnu.org; Thu, 07 Jun 2012 22:58:46 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:28570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ScpPP-0003Lf-Tb for qemu-devel@nongnu.org; Thu, 07 Jun 2012 22:58:44 -0400 Date: Fri, 8 Jun 2012 10:58:29 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7IChXZWktUmVuIENoZW4p?= Message-ID: <20120608025829.GA59057@cs.nctu.edu.tw> References: <1338985632-29597-1-git-send-email-proljc@gmail.com> <1338985632-29597-9-git-send-email-proljc@gmail.com> <4FD14570.1000501@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4FD14570.1000501@twiddle.net> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 08/16] target-or32: Add translation routines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Max Filippov , Jia Liu , qemu-devel@nongnu.org On Thu, Jun 07, 2012 at 05:21:04PM -0700, Richard Henderson wrote: > On 2012-06-07 17:00, Jia Liu wrote: > > TCGv_i32 sr_ove =3D tcg_temp_new_i32(); >=20 > You need tcg_temp_local_new_i32 in order to last beyond the branches. >=20 > Frankly, it's often easier to handle division and its exceptions via > an out-of-line handler. ^^^^^^^^^^^^^^^^^^^ I guess you mean helper function? Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj