This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, MIPS] Sign-extend with EXTS if we can't use SEB/SEH


Adam Nemet <anemet@caviumnetworks.com> writes:
> 	* config/mips/mips.md (*extenddi_truncate<mode>,
> 	*extendsi_truncate<mode>): Emit exts if supported.  Add attribute
> 	defintions.
> 	(*extendhi_truncateqi): New define_insn_and_sptit.
>
> testsuite/
> 	* gcc.target/mips/octeon-exts-6.c: New test.
> 	* gcc.target/mips/extend-1.c: New test.
> 	* gcc.target/mips/octeon-exts-2.c: Adjust to not match sign-extension
> 	EXTS.
> 	* gcc.target/mips/octeon-exts-5.c: Likewise.

OK, thanks.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]