Fix a number of ICE in the test suite.
authorPaul Koning <ni1d@arrl.net>
Sun, 27 May 2018 17:13:22 +0000 (13:13 -0400)
committerPaul Koning <pkoning@gcc.gnu.org>
Sun, 27 May 2018 17:13:22 +0000 (13:13 -0400)
    * config/pdp11/pdp11.md (truncsihi2): Remove.

From-SVN: r260807

gcc/ChangeLog
gcc/config/pdp11/pdp11.md

index cddfeb7ddbd7acec3322ab1ae25f91bc298b912b..3f39a6ea21ddda964f9c9c9488efba37fc9b5140 100644 (file)
@@ -1,3 +1,7 @@
+2018-05-27  Paul Koning  <ni1d@arrl.net>
+
+       * config/pdp11/pdp11.md (truncsihi2): Remove.
+
 2018-05-27  Monk Chiang  <sh.chiang04@gmail.com>
            Chung-Ju Wu  <jasonwucj@gmail.com>
 
index 8ad1c2163304d2adcc3489a83bf3abf02fd2114e..4f4a5d20a91ec51fa4f1481c0714d4f03d14eea9 100644 (file)
        (match_operand:DI 1 "general_operand" "rN,g"))]
   ""
   "* return output_move_multiple (operands);"
-;; what's the mose expensive code - say twice movsi = 16
   [(set_attr "length" "16,32")])
 
 (define_insn "movsi"
        (match_operand:SI 1 "general_operand" "rN,IJ,IJ,g"))]
   ""
   "* return output_move_multiple (operands);"
-;; what's the most expensive code ? - I think 8!
-;; we could split it up and make several sub-cases...
   [(set_attr "length" "4,6,8,16")])
 
 (define_insn "mov<mode>"
   [(set_attr "length" "0,2,4")])
 
 
-(define_expand "truncsihi2"
-  [(set (match_operand:HI 0 "nonimmediate_operand" "=g")
-       (subreg:HI 
-         (match_operand:SI 1 "general_operand" "or")
-          0))]
-  ""
-  "")
-
 \f
 ;;- zero extension instructions