| Submitter | Steve Ellcey |
|---|---|
| Date | July 19, 2012, 5:09 p.m. |
| Message ID | <1342717756.31436.104.camel@ubuntu-sellcey> |
| Download | mbox | patch |
| Permalink | /patch/171989/ |
| State | New |
| Headers | show |
Comments
Steve Ellcey <sellcey@mips.com> writes: > 2012-07-19 Steve Ellcey <sellcey@mips.com> > > * config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in > MIPS16 mode. OK, thanks. Richard
Patch
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 7356ce5..00360f7 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -15652,6 +15652,9 @@ mips_set_mips16_mode (int mips16_p) /* Switch to MIPS16 mode. */ target_flags |= MASK_MIPS16; + /* Turn off SYNCI if it was on, MIPS16 doesn't support it. */ + target_flags &= ~MASK_SYNCI; + /* Don't run the scheduler before reload, since it tends to increase register pressure. */ flag_schedule_insns = 0;