r245243 - in /trunk/gcc: ChangeLog config/mips/...

tomtab@gcc.gnu.org tomtab@gcc.gnu.org
Tue Feb 7 10:34:00 GMT 2017


Author: tomtab
Date: Tue Feb  7 10:34:47 2017
New Revision: 245243

URL: https://gcc.gnu.org/viewcvs?rev=245243&root=gcc&view=rev
Log:
MIPS: Fix mode mismatch error between Loongson builtin arguments and insn
operands.

gcc/

	* config/mips/mips.c (mips_expand_builtin_insn): Convert the QImode
	argument of the pshufh, psllh, psllw, psrah, psraw, psrlh, psrlw
	builtins to SImode and emit a zero-extend, if necessary.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/mips/mips.c



More information about the Gcc-cvs mailing list