Re: microMIPS jump instructions

2014-01-08 Thread Richard Sandiford
"Moore, Catherine" writes: > 2014-01-08 Catherine Moore > > gcc/testsuite/ > * gcc.target/mips/umips-branch-3.c: New test. > * gcc.target/mips/umips-branch-4.c: New test. > > gcc/ > * config/mips/mips.md (simple_return): Attempt to use JRC for microMIPS. >

microMIPS jump instructions

2014-01-08 Thread Moore, Catherine
Hi Richard, It looks like the microMIPS implementation is missing support for the JRC instruction and also misses an opportunity to generate JALS. I've attached a patch, plus some new test cases to correct this. Does this look okay to commit? I'd like to get it in 4.9. Thanks, Catherine jr