gcc/
	PR target/55777
	* config/mips/mips.c (mips_can_inline_p): New function.
	(TARGET_CAN_INLINE_P): Define.

gcc/testsuite/
	PR target/55777
	* gcc.target/mips/mips16-attributes-5.c,
	* gcc.target/mips/mips16-attributes-6.c: New tests.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199328 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	PR target/53916
	* config/mips/constraints.md (kl): New constraint.
	* config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Delete.
	(divmod<mode>4_internal): Rename to divmod<mode>4.  Use "kl" as the
	constraint for operand 0.  Split after CSE for MIPS16.  Emit a move
	from LO for MIPS16.
	(udivmod<mode>4_internal): Likewise udivmod<mode>4.

gcc/testsuite/
	PR target/53916
	* gcc.target/mips/div-13.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199329 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/mips/mips.h: Use #elif in preprocessor conditions.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199330 138bc75d-0d04-0410-961f-82ee72b054a4