mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-19 23:20:13 +08:00
pa.c (output_deferred_plabels, [...]): Cleanup formatting of targetm calls.
* pa.c (output_deferred_plabels, output_bb, output_millicode_call, attr_length_call, output_call, output_indirect_call): Cleanup formatting of targetm calls. From-SVN: r123048
This commit is contained in:
parent
fa3b3d5e78
commit
ecc418c4f9
@ -1,3 +1,9 @@
|
||||
2007-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
* pa.c (output_deferred_plabels, output_bb, output_millicode_call,
|
||||
attr_length_call, output_call, output_indirect_call): Cleanup
|
||||
formatting of targetm calls.
|
||||
|
||||
2007-03-19 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
|
||||
|
@ -5336,7 +5336,7 @@ output_deferred_plabels (void)
|
||||
/* Now output the deferred plabels. */
|
||||
for (i = 0; i < n_deferred_plabels; i++)
|
||||
{
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (deferred_plabels[i].internal_label));
|
||||
assemble_integer (deferred_plabels[i].symbol,
|
||||
TARGET_64BIT ? 8 : 4, TARGET_64BIT ? 64 : 32, 1);
|
||||
@ -6255,8 +6255,8 @@ output_lbranch (rtx dest, rtx insn, int xdelay)
|
||||
{
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
output_asm_insn ("addil L'%l0-%l1,%%r1", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
output_asm_insn ("ldo R'%l0-%l1(%%r1),%%r1", xoperands);
|
||||
}
|
||||
else
|
||||
@ -7115,7 +7115,7 @@ output_millicode_call (rtx insn, rtx call_dest)
|
||||
{
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
|
||||
}
|
||||
@ -7159,7 +7159,7 @@ output_millicode_call (rtx insn, rtx call_dest)
|
||||
millicode symbol but not an arbitrary external
|
||||
symbol when generating SOM output. */
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
|
||||
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
|
||||
@ -7198,8 +7198,8 @@ output_millicode_call (rtx insn, rtx call_dest)
|
||||
{
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
output_asm_insn ("ldo %0-%1(%2),%2", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
}
|
||||
else
|
||||
/* ??? This branch may not reach its target. */
|
||||
@ -7257,7 +7257,7 @@ attr_length_call (rtx insn, int sibcall)
|
||||
call_dest = XEXP (XEXP (XEXP (XVECEXP (pat, 0, 0), 1), 0), 0);
|
||||
|
||||
call_decl = SYMBOL_REF_DECL (call_dest);
|
||||
local_call = call_decl && (*targetm.binds_local_p) (call_decl);
|
||||
local_call = call_decl && targetm.binds_local_p (call_decl);
|
||||
|
||||
/* pc-relative branch. */
|
||||
if (!TARGET_LONG_CALLS
|
||||
@ -7321,7 +7321,7 @@ output_call (rtx insn, rtx call_dest, int sibcall)
|
||||
int delay_slot_filled = 0;
|
||||
int seq_length = dbr_sequence_length ();
|
||||
tree call_decl = SYMBOL_REF_DECL (call_dest);
|
||||
int local_call = call_decl && (*targetm.binds_local_p) (call_decl);
|
||||
int local_call = call_decl && targetm.binds_local_p (call_decl);
|
||||
rtx xoperands[2];
|
||||
|
||||
xoperands[0] = call_dest;
|
||||
@ -7445,7 +7445,7 @@ output_call (rtx insn, rtx call_dest, int sibcall)
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
output_asm_insn ("{bl|b,l} .+8,%%r1", xoperands);
|
||||
output_asm_insn ("addil L'%0-%l1,%%r1", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
output_asm_insn ("ldo R'%0-%l1(%%r1),%%r1", xoperands);
|
||||
}
|
||||
@ -7582,8 +7582,8 @@ output_call (rtx insn, rtx call_dest, int sibcall)
|
||||
{
|
||||
xoperands[1] = gen_label_rtx ();
|
||||
output_asm_insn ("ldo %0-%1(%%r2),%%r2", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[1]));
|
||||
}
|
||||
else
|
||||
output_asm_insn ("nop\n\tb,n %0", xoperands);
|
||||
@ -7686,8 +7686,8 @@ output_indirect_call (rtx insn, rtx call_dest)
|
||||
{
|
||||
xoperands[0] = gen_label_rtx ();
|
||||
output_asm_insn ("addil L'$$dyncall-%0,%%r1", xoperands);
|
||||
(*targetm.asm_out.internal_label) (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[0]));
|
||||
targetm.asm_out.internal_label (asm_out_file, "L",
|
||||
CODE_LABEL_NUMBER (xoperands[0]));
|
||||
output_asm_insn ("ldo R'$$dyncall-%0(%%r1),%%r1", xoperands);
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user