Commit de5bcff3 by Robert Suchanek Committed by Robert Suchanek

Prohibit vector modes in accumulators.

gcc/
	* config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
	for all vector modes.

From-SVN: r220200
parent 6b18ab83
2015-01-28 Robert Suchanek <robert.suchanek@imgtec.com>
* config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
for all vector modes.
2015-01-28 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/64612
......
......@@ -12131,7 +12131,9 @@ mips_hard_regno_mode_ok_p (unsigned int regno, machine_mode mode)
return size >= MIN_UNITS_PER_WORD && size <= UNITS_PER_FPREG;
}
/* Don't allow vector modes in accumulators. */
if (ACC_REG_P (regno)
&& !VECTOR_MODE_P (mode)
&& (INTEGRAL_MODE_P (mode) || ALL_FIXED_POINT_MODE_P (mode)))
{
if (MD_REG_P (regno))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment