"Maciej W. Rozycki" <ma...@codesourcery.com> writes: > On Sat, 12 Apr 2014, Richard Sandiford wrote: > >> I went ahead and applied the adjusted version of the patch to trunk >> as below (because I wanted to add a testcase too). > > I believe you need to adjust constraints to ensure constant 0 is known to > produce a 16-bit instruction encoding where possible. Otherwise you'll > end up with suboptimal code when the instruction is in a branch delay > slot.
Yeah, it'd be good to do that too (although this is a preexisting problem). I'm relying on you guys to do the microMIPS stuff though -- I don't have a way of testing it. Thanks, Richard