backport: mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in MIPS16 mode.

2012-08-02  Steve Ellcey  <sellcey@mips.com>

	Backport from Mainline
	2012-07-19  Steve Ellcey  <sellcey@mips.com>

	* config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
	MIPS16 mode.

From-SVN: r190091
This commit is contained in:
Steve Ellcey 2012-08-02 18:24:09 +00:00 committed by Steve Ellcey
parent bbf46384ae
commit f869fb05d9
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2012-08-02 Steve Ellcey <sellcey@mips.com>
Backport from mainline
2012-07-19 Steve Ellcey <sellcey@mips.com>
* config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
MIPS16 mode.
2012-08-02 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline

View File

@ -15584,6 +15584,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;