* loop.c (constant_high_bytes): Delete.
authorMichael Hayes <mhayes@cygnus.com>
Fri, 25 Aug 2000 09:56:24 +0000 (09:56 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Fri, 25 Aug 2000 09:56:24 +0000 (09:56 +0000)
From-SVN: r35977

gcc/ChangeLog
gcc/loop.c

index 0c9961e57b04ae181f5af0031d23d2fe0b1bf3c0..62a7ded670dac3a2cd58923f64302edb001f84f8 100644 (file)
@@ -1,3 +1,7 @@
+2000-08-26  Michael Hayes  <mhayes@cygnus.com>
+       
+       * loop.c (constant_high_bytes): Delete.
+
 2000-08-26  Michael Hayes  <mhayes@cygnus.com>
 
        * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
index dccdcd9fc68c7f48bf17dee338abffda9d8abebb..6c0ae4fb825ce7295f9d284f8467c1c8ba6f644f 100644 (file)
@@ -2328,48 +2328,6 @@ count_nonfixed_reads (loop, x)
   return value;
 }
 \f
-#if 0
-/* P is an instruction that sets a register to the result of a ZERO_EXTEND.
-   Replace it with an instruction to load just the low bytes
-   if the machine supports such an instruction,
-   and insert above LOOP_START an instruction to clear the register.  */
-
-static void
-constant_high_bytes (p, loop_start)
-     rtx p, loop_start;
-{
-  register rtx new;
-  register int insn_code_number;
-
-  /* Try to change (SET (REG ...) (ZERO_EXTEND (..:B ...)))
-     to (SET (STRICT_LOW_PART (SUBREG:B (REG...))) ...).  */
-
-  new
-    = gen_rtx_SET
-      (VOIDmode,
-       gen_rtx_STRICT_LOW_PART
-       (VOIDmode,
-       gen_rtx_SUBREG (GET_MODE (XEXP (SET_SRC (PATTERN (p)), 0)),
-                       SET_DEST (PATTERN (p)), 0)),
-       XEXP (SET_SRC (PATTERN (p)), 0));
-
-  insn_code_number = recog (new, p);
-
-  if (insn_code_number)
-    {
-      register int i;
-
-      /* Clear destination register before the loop.  */
-      emit_insn_before (gen_rtx_SET (VOIDmode,
-                                    SET_DEST (PATTERN (p)), const0_rtx),
-                       loop_start);
-
-      /* Inside the loop, just load the low part.  */
-      PATTERN (p) = new;
-    }
-}
-#endif
-\f
 /* Scan a loop setting the elements `cont', `vtop', `loops_enclosed',
    `has_call', `has_volatile', and `has_tablejump' within LOOP.
    Set the global variables `unknown_address_altered',