> Where's the shift? I think the above code means you generate an immediate > value (the 2), add it to R2 with the result going in a spill register, and > then add the spill register to R1, with the result going to R0. Should > that middle line be some kind of gen_op_lshift32() instead of > gen_op_add32()?
Yes. > Do qregs ever get freed? (I'm guessing gen_new_qreg() lasts until the end > of the translated block, and then the next block has its own set of qregs?) Correct. Paul _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel