On Wed, Mar 30, 2016 at 10:29:26AM -0400, Rich Felker wrote: > Since I've done most of the thinking about the above issues already > and have a patch for some of them, let me prepare a complete patch and > send it to the list for you to check and make sure it meets your needs > for r6. I should be able to prepare it very quickly. Then we can look > at applying the same changes to the n32 port and reviewing it. Can you see if the attached patch works for you? It not only adds r6 support but improves support for non-baseline (i.e. > mips1) ISA levels by optimizing out the unnecessary .set's (which hurt gcc's inlining, because gcc is dumb about them) and lifts the $3 register restriction on rdhwr for ISA levels where the instructions are known to be available natively. Rich