On Tue, 11 Jan 2011, Richard Henderson wrote: > On 01/11/2011 04:40 AM, malc wrote: > >> + tcg_out32 (s, RLWIMI > >> + | RA(args[0]) > >> + | RS(args[2]) > >> + | SH(lsb_ofs) > >> + | MB(msb_ofs - len + 1) > >> + | ME(msb_ofs)); > >> + } > ... > >> + { INDEX_op_deposit_i32, { "r", "0", "r" } }, > >> > > > > Are you sure about "0" constraint? > > Yes, rlwimi inserts a value into the destination register. > There is no second source register for the instruction. >
Indeed, nothing else uses "0" in tcg/ppc so it caught my attention. -- mailto:av1...@comtv.ru