This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH] [MIPS] Fix operands for microMIPS SW16, SH16 and SB16


Richard Sandiford <rdsandiford@googlemail.com> writes:
> "Maciej W. Rozycki" <macro@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.

FYI, we have GNUSIM patches awaiting submission to add micromips support.
We are waiting on copyright assignment for GDB which is why they are not
available yet. We were planning on getting them submitting as 'on behalf
of' but it seems this may not be permitted any more by FSF.

Matthew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]