diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-01-01 12:39:22 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-01-01 07:39:22 -0500 |
commit | 7a2bf7af120b35f080b4160e45d8ceb78cf2b5a1 (patch) | |
tree | 26aafed6b7d4d2bc7de57a36b4a1ef333f505f3e | |
parent | 1ad036cf726b5643b0c699d7369f44eecdeb6282 (diff) | |
download | gcc-7a2bf7af120b35f080b4160e45d8ceb78cf2b5a1.zip gcc-7a2bf7af120b35f080b4160e45d8ceb78cf2b5a1.tar.gz gcc-7a2bf7af120b35f080b4160e45d8ceb78cf2b5a1.tar.bz2 |
* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
From-SVN: r38586
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.md | 38 |
2 files changed, 23 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 802678e..2a0eaa0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> + + * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64. + 2001-01-01 Michael Hayes <mhayes@redhat.com> * 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 b15c39e..70b018c 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")]) |