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 = tcg_temp_new_i32(); > > You need tcg_temp_local_new_i32 in order to last beyond the branches. > > 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 -- Wei-Ren Chen (陳韋任) 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