Re: [Patch, mips] Fix compiler abort with -mips32r2 -mips16 -msynci

2012-07-19 Thread Richard Sandiford
Steve Ellcey writes: > 2012-07-19 Steve Ellcey > > * config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in > MIPS16 mode. OK, thanks. Richard

Re: [Patch, mips] Fix compiler abort with -mips32r2 -mips16 -msynci

2012-07-19 Thread Steve Ellcey
On Wed, 2012-07-18 at 18:30 +0100, Richard Sandiford wrote: > The abort sounds like the bug here. It's deliberate that things like > -msynci, -mbranch-likely, etc., are OK with -mips16. On the one hand, > you could compile with -mips16 but have an __attribute__((nomips16)) > function that could

Re: [Patch, mips] Fix compiler abort with -mips32r2 -mips16 -msynci

2012-07-18 Thread Steve Ellcey
On Wed, 2012-07-18 at 18:30 +0100, Richard Sandiford wrote: > The abort sounds like the bug here. It's deliberate that things like > -msynci, -mbranch-likely, etc., are OK with -mips16. On the one hand, > you could compile with -mips16 but have an __attribute__((nomips16)) > function that could

Re: [Patch, mips] Fix compiler abort with -mips32r2 -mips16 -msynci

2012-07-18 Thread Richard Sandiford
"Steve Ellcey " writes: > While working on my favorite mips option (-msynci) I noticed an odd thing. > If I compile with '-mips32 -mips16 -msynci' I got a warning about synci not > being supported but if I compiled with '-mips32r2 -mips16 -msynci' I did not > get a warning, even though -mips16 mod

[Patch, mips] Fix compiler abort with -mips32r2 -mips16 -msynci

2012-07-17 Thread Steve Ellcey
While working on my favorite mips option (-msynci) I noticed an odd thing. If I compile with '-mips32 -mips16 -msynci' I got a warning about synci not being supported but if I compiled with '-mips32r2 -mips16 -msynci' I did not get a warning, even though -mips16 mode does not support synci. Furthe