Commit d0616842 by Jeff Law

pa.c (output_arg_descriptor): Restore old behavior for SImode USE insns of FP…

pa.c (output_arg_descriptor): Restore old behavior for SImode USE insns of FP registers (used by untyped call...

	* pa.c (output_arg_descriptor): Restore old behavior for SImode
	USE insns of FP registers (used by untyped call support).

From-SVN: r7450
parent b5cc037f
...@@ -3175,11 +3175,9 @@ output_arg_descriptor (call_insn) ...@@ -3175,11 +3175,9 @@ output_arg_descriptor (call_insn)
} }
else if (regno >= 32 && regno <= 39) else if (regno >= 32 && regno <= 39)
{ {
if ((regno & 1) != 0)
abort ();
if (arg_mode == SFmode) if (arg_mode == SFmode)
arg_regs[(regno - 32) / 2] = "FR"; arg_regs[(regno - 32) / 2] = "FR";
else if (arg_mode == DFmode) else
{ {
#ifndef HP_FP_ARG_DESCRIPTOR_REVERSED #ifndef HP_FP_ARG_DESCRIPTOR_REVERSED
arg_regs[(regno - 34) / 2] = "FR"; arg_regs[(regno - 34) / 2] = "FR";
...@@ -3189,8 +3187,6 @@ output_arg_descriptor (call_insn) ...@@ -3189,8 +3187,6 @@ output_arg_descriptor (call_insn)
arg_regs[(regno - 34) / 2 + 1] = "FR"; arg_regs[(regno - 34) / 2 + 1] = "FR";
#endif #endif
} }
else
abort ();
} }
} }
fputs ("\t.CALL ", asm_out_file); fputs ("\t.CALL ", asm_out_file);
......
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