From 7a2bf7af120b35f080b4160e45d8ceb78cf2b5a1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 1 Jan 2001 12:39:22 +0000 Subject: [PATCH] * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64. From-SVN: r38586 --- gcc/ChangeLog | 4 ++++ gcc/config/sparc/sparc.md | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 802678e8ede..2a0eaa02818 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 1 07:38:33 2001 Richard Kenner + + * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64. + 2001-01-01 Michael Hayes * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds. diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index b15c39e4524..70b018c26ef 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -2577,9 +2577,9 @@ (define_insn "*movdi_insn_sp64_novis" [(set (match_operand:DI 0 "nonimmediate_operand" "=r,r,r,r,m,?e,?e,?m") (match_operand:DI 1 "input_operand" "rI,K,J,m,rJ,e,m,e"))] - "TARGET_ARCH64 && ! TARGET_VIS && - (register_operand (operands[0], DImode) - || reg_or_0_operand (operands[1], DImode))" + "TARGET_ARCH64 && ! TARGET_VIS + && (register_operand (operands[0], DImode) + || reg_or_0_operand (operands[1], DImode))" "@ mov\\t%1, %0 sethi\\t%%hi(%a1), %0 @@ -8471,14 +8471,14 @@ (define_insn "*tablejump_sp32" [(set (pc) (match_operand:SI 0 "address_operand" "p")) (use (label_ref (match_operand 1 "" "")))] - "! TARGET_PTR64" + "! TARGET_ARCH64" "jmp\\t%a0%#" [(set_attr "type" "uncond_branch")]) (define_insn "*tablejump_sp64" [(set (pc) (match_operand:DI 0 "address_operand" "p")) (use (label_ref (match_operand 1 "" "")))] - "TARGET_PTR64" + "TARGET_ARCH64" "jmp\\t%a0%#" [(set_attr "type" "uncond_branch")]) @@ -8584,7 +8584,7 @@ (match_operand 1 "" "")) (clobber (reg:SI 15))] ;;- Do not use operand 1 for most machines. - "! TARGET_PTR64" + "! TARGET_ARCH64" "call\\t%a0, %1%#" [(set_attr "type" "call")]) @@ -8593,7 +8593,7 @@ (match_operand 1 "" "")) (clobber (reg:SI 15))] ;;- Do not use operand 1 for most machines. - "! TARGET_PTR64" + "! TARGET_ARCH64" "call\\t%a0, %1%#" [(set_attr "type" "call")]) @@ -8602,7 +8602,7 @@ (match_operand 1 "" "")) (clobber (reg:DI 15))] ;;- Do not use operand 1 for most machines. - "TARGET_PTR64" + "TARGET_ARCH64" "call\\t%a0, %1%#" [(set_attr "type" "call")]) @@ -8611,7 +8611,7 @@ (match_operand 1 "" "")) (clobber (reg:DI 15))] ;;- Do not use operand 1 for most machines. - "TARGET_PTR64" + "TARGET_ARCH64" "call\\t%a0, %1%#" [(set_attr "type" "call")]) @@ -8706,7 +8706,7 @@ (match_operand 2 "" ""))) (clobber (reg:SI 15))] ;;- Do not use operand 2 for most machines. - "! TARGET_PTR64" + "! TARGET_ARCH64" "call\\t%a1, %2%#" [(set_attr "type" "call")]) @@ -8716,7 +8716,7 @@ (match_operand 2 "" ""))) (clobber (reg:SI 15))] ;;- Do not use operand 2 for most machines. - "! TARGET_PTR64" + "! TARGET_ARCH64" "call\\t%a1, %2%#" [(set_attr "type" "call")]) @@ -8726,7 +8726,7 @@ (match_operand 2 "" ""))) (clobber (reg:DI 15))] ;;- Do not use operand 2 for most machines. - "TARGET_PTR64" + "TARGET_ARCH64" "call\\t%a1, %2%#" [(set_attr "type" "call")]) @@ -8736,7 +8736,7 @@ (match_operand 2 "" ""))) (clobber (reg:DI 15))] ;;- Do not use operand 2 for most machines. - "TARGET_PTR64" + "TARGET_ARCH64" "call\\t%a1, %2%#" [(set_attr "type" "call")]) @@ -8780,7 +8780,7 @@ [(call (mem:SI (match_operand:SI 0 "symbolic_operand" "s")) (match_operand 1 "" "")) (return)] - "! TARGET_PTR64" + "! TARGET_ARCH64" "* return output_sibcall(insn, operands[0]);" [(set_attr "type" "sibcall")]) @@ -8788,7 +8788,7 @@ [(call (mem:SI (match_operand:DI 0 "symbolic_operand" "s")) (match_operand 1 "" "")) (return)] - "TARGET_PTR64" + "TARGET_ARCH64" "* return output_sibcall(insn, operands[0]);" [(set_attr "type" "sibcall")]) @@ -8804,7 +8804,7 @@ (call (mem:SI (match_operand:SI 1 "symbolic_operand" "s")) (match_operand 2 "" ""))) (return)] - "! TARGET_PTR64" + "! TARGET_ARCH64" "* return output_sibcall(insn, operands[1]);" [(set_attr "type" "sibcall")]) @@ -8813,7 +8813,7 @@ (call (mem:SI (match_operand:DI 1 "symbolic_operand" "s")) (match_operand 2 "" ""))) (return)] - "TARGET_PTR64" + "TARGET_ARCH64" "* return output_sibcall(insn, operands[1]);" [(set_attr "type" "sibcall")]) @@ -8913,13 +8913,13 @@ (define_insn "*branch_sp32" [(set (pc) (match_operand:SI 0 "address_operand" "p"))] - "! TARGET_PTR64" + "! TARGET_ARCH64" "jmp\\t%a0%#" [(set_attr "type" "uncond_branch")]) (define_insn "*branch_sp64" [(set (pc) (match_operand:DI 0 "address_operand" "p"))] - "TARGET_PTR64" + "TARGET_ARCH64" "jmp\\t%a0%#" [(set_attr "type" "uncond_branch")]) -- 2.30.2