On 09/18/2012 12:52 PM, malc wrote: > case INDEX_op_shl_i32: > if (const_args[2]) { > + if (args[2] > 31) { > + tcg_out_movi (s, TCG_TYPE_I32, 0, args[2]); > + tcg_out32 (s, SLW | SAB (args[1], args[0], 0)); > + }
What's this bit for? AFAIK all you should need are the added & 31 below. r~