summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc.md
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-08 19:17:53 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-08 19:17:53 +0000
commit461a1f480b2bb9b0cebbbb161d48a94cb939d40b (patch)
treea9321393d72a1201f896606a77956af853d6274c /gcc/config/sparc/sparc.md
parent38934f1421a0d422e1b0655738b0bc25dd015be9 (diff)
downloadgcc-461a1f480b2bb9b0cebbbb161d48a94cb939d40b.tar.gz
* config/sparc/sparc.c (sparc_indent_opcode): New variable.
(output_return): Do not test for the presence of the 'unimp' insn. Use 'current_function_uses_only_leaf_regs' and 'final_sequence' as predicates instead of custom ones. Return raw strings when possible. (output_sibcall): Likewise. Concatenate strings. (output_ubranch): Remove kludge for TurboSPARC. (output_cbranch): Remove 'noop' parameter. Do not output 'nop'. (output_v9branch): Likewise. (print_operand): Use 'final_sequence' instead of 'dbr_sequence_length'. <#>: Set sparc_indent_opcode if the delay slot is filled. <(>: Likewise. <)>: New operand to emit the displacement from the saved PC on return. <@>: Remove. * config/sparc/sparc.h (sparc_indent_opcode): Declare it. (ASM_OUTPUT_OPCODE): New macro. (PRINT_OPERAND_PUNCT_VALID_P): Remove '^' and add ')'. * config/sparc/sparc.md (normal_branch, inverted_branch, normal_fp_branch, inverted_fp_branch, normal_fpe_branch, inverted_fpe_branch): Adjust call to output_cbranch. (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust call to output_v9branch. * config/sparc/sparc-protos.h (output_cbranch): Adjust. (output_v9branch): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87198 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sparc.md')
-rw-r--r--gcc/config/sparc/sparc.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md
index 9446cbef168..886d190d16a 100644
--- a/gcc/config/sparc/sparc.md
+++ b/gcc/config/sparc/sparc.md
@@ -1549,7 +1549,7 @@
{
return output_cbranch (operands[0], operands[1], 1, 0,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "icc")])
@@ -1565,7 +1565,7 @@
{
return output_cbranch (operands[0], operands[1], 1, 1,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "icc")])
@@ -1582,7 +1582,7 @@
{
return output_cbranch (operands[1], operands[2], 2, 0,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "fcc")])
@@ -1599,7 +1599,7 @@
{
return output_cbranch (operands[1], operands[2], 2, 1,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "fcc")])
@@ -1616,7 +1616,7 @@
{
return output_cbranch (operands[1], operands[2], 2, 0,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "fcc")])
@@ -1633,7 +1633,7 @@
{
return output_cbranch (operands[1], operands[2], 2, 1,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "fcc")])
@@ -1655,7 +1655,7 @@
{
return output_v9branch (operands[0], operands[2], 1, 2, 0,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "reg")])
@@ -1672,7 +1672,7 @@
{
return output_v9branch (operands[0], operands[2], 1, 2, 1,
final_sequence && INSN_ANNULLED_BRANCH_P (insn),
- ! final_sequence, insn);
+ insn);
}
[(set_attr "type" "branch")
(set_attr "branch_type" "reg")])