diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-10 07:13:16 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-10 07:13:16 -0400 |
commit | 996a5f59fb5faefcb6e056ec3976cdb3d7f8d439 (patch) | |
tree | d8afeb52a2270dc0735207fb9d836241cc3da073 /gcc/config/convex | |
parent | edd2e9fe0bdd048e91cb134c89a5c310f616ac82 (diff) | |
download | gcc-996a5f59fb5faefcb6e056ec3976cdb3d7f8d439.tar.gz |
Remove references to LSHIFT and lshlsi3.
From-SVN: r7016
Diffstat (limited to 'gcc/config/convex')
-rw-r--r-- | gcc/config/convex/convex.h | 1 | ||||
-rw-r--r-- | gcc/config/convex/convex.md | 99 |
2 files changed, 2 insertions, 98 deletions
diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index 91318866843..2787d2435da 100644 --- a/gcc/config/convex/convex.h +++ b/gcc/config/convex/convex.h @@ -1119,7 +1119,6 @@ enum reg_class { else break; \ case MULT: \ return 4 * (char) (0x03060403 >> target_cpu * 8); \ - case LSHIFT: \ case ASHIFT: \ case LSHIFTRT: \ case ASHIFTRT: \ diff --git a/gcc/config/convex/convex.md b/gcc/config/convex/convex.md index 1cdb78ad14a..e008fe0e2e0 100644 --- a/gcc/config/convex/convex.md +++ b/gcc/config/convex/convex.md @@ -1,6 +1,5 @@ -;;- Machine description for GNU compiler -;;- Convex Version -;; Copyright (C) 1988, 1993 Free Software Foundation, Inc. +;;- Machine description for GNU compiler, Convex Version +;; Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. ;; This file is part of GNU CC. @@ -1040,81 +1039,6 @@ ;; SImode -;; Logical left 1, 1 cycle on all machines via add - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=r") - (lshift:SI (match_operand:SI 1 "register_operand" "0") - (const_int 1)))] - "" - "add.w %0,%0") - -;; C34 general shift is 1 cycle - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=d,a") - (lshift:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "di,ai")))] - "TARGET_C34" - "@ - shf.w %2,%0 - shf %2,%0" - [(set_attr "type" "shfw,shfw")]) - -;; else shift left 0..7 is 1 cycle if we use an A register - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=a,?d") - (lshift:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "immediate_operand" "ai,di")))] - "TARGET_C1 && INTVAL (operands[2]) < (unsigned) 8" - "@ - shf %2,%0 - shf %2,%0" - [(set_attr "type" "alu,shfl")]) - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=a,?d") - (lshift:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "immediate_operand" "ai,di")))] - "INTVAL (operands[2]) < (unsigned) 8" - "@ - shf %2,%0 - shf.w %2,%0" - [(set_attr "type" "alu,shfw")]) - -;; else general left shift - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=d,a") - (lshift:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "di,ai")))] - "TARGET_C1" - "@ - shf %2,%0 - shf %2,%0" - [(set_attr "type" "shfl,shfw")]) - -;; (but C2 shift left by a constant can is faster via multiply) - -(define_insn "" - [(set (match_operand:SI 0 "register_operand" "=r") - (lshift:SI (match_operand:SI 1 "register_operand" "0") - (match_operand:SI 2 "const_int_operand" "i")))] - "TARGET_C2 && INTVAL (operands[2]) < (unsigned) 32" - "mul.w %z2,%0" - [(set_attr "type" "mulw")]) - -(define_insn "lshlsi3" - [(set (match_operand:SI 0 "register_operand" "=d,a") - (lshift:SI (match_operand:SI 1 "register_operand" "0,0") - (match_operand:SI 2 "nonmemory_operand" "di,ai")))] - "" - "@ - shf.w %2,%0 - shf %2,%0" - [(set_attr "type" "shfw,shfw")]) - ;; Arithmetic left 1, 1 cycle on all machines via add (define_insn "" @@ -1276,25 +1200,6 @@ [(set_attr "type" "shfl")]) ;; DImode -;; Logical left, 1-cycle - -(define_insn "" - [(set (match_operand:DI 0 "register_operand" "=d") - (lshift:DI (match_operand:DI 1 "register_operand" "0") - (const_int 1)))] - "" - "add.l %0,%0") - -;; Logical left, general - -(define_insn "lshldi3" - [(set (match_operand:DI 0 "register_operand" "=d") - (lshift:DI (match_operand:DI 1 "register_operand" "0") - (match_operand:SI 2 "nonmemory_operand" "di")))] - "" - "shf %2,%0" - [(set_attr "type" "shfl")]) - ;; Arithmetic left, 1-cycle (define_insn "" |