]> gcc.gnu.org Git - gcc.git/commitdiff
h8300.c (output_simode_bld): Use rotxl.l to store into bit 0.
authorKazu Hirata <kazu@cs.umass.edu>
Mon, 23 Jun 2003 03:37:36 +0000 (03:37 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Mon, 23 Jun 2003 03:37:36 +0000 (03:37 +0000)
* config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
store into bit 0.
* config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
second alternative to set_znv.
(*extzv_1_r_inv_h8300hs): Likewise.

From-SVN: r68358

gcc/ChangeLog
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.md

index d26584afce82b949a0824582af963831007e8376..c4cd71ea1f80e753165a933615c59a07a6f63f36 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
+       store into bit 0.
+       * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
+       second alternative to set_znv.
+       (*extzv_1_r_inv_h8300hs): Likewise.
+
 2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * configure.in (in_tree_gas): Find out here whether GAS is ELF,
 2003-06-23  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * configure.in (in_tree_gas): Find out here whether GAS is ELF,
index d7a55f17cf27305190c6b60ad47ff5d31651a3d9..e82ee9552b3372b7eee76393722ed932dea87e18 100644 (file)
@@ -4039,7 +4039,7 @@ output_simode_bld (int bild, rtx operands[])
        output_asm_insn ("xor.l\t%S0,%S0", operands);
 
       /* Perform the bit store.  */
        output_asm_insn ("xor.l\t%S0,%S0", operands);
 
       /* Perform the bit store.  */
-      output_asm_insn ("bst\t#0,%w0", operands);
+      output_asm_insn ("rotxl.l\t%S0", operands);
     }
 
   /* All done.  */
     }
 
   /* All done.  */
index cae57370bf0c16b7123e60e4657b36c9ecb7d607..dc323bb92f0d6431faf99527fbfca6880177b2a5 100644 (file)
   "(TARGET_H8300H || TARGET_H8300S)
    && INTVAL (operands[2]) < 16"
   "* return output_simode_bld (0, operands);"
   "(TARGET_H8300H || TARGET_H8300S)
    && INTVAL (operands[2]) < 16"
   "* return output_simode_bld (0, operands);"
-  [(set_attr "cc" "clobber,clobber")
+  [(set_attr "cc" "set_znv,set_znv")
    (set_attr "length" "8,6")])
 
 ;;
    (set_attr "length" "8,6")])
 
 ;;
    && INTVAL (operands[2]) < 16
    && (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
   "* return output_simode_bld (1, operands);"
    && INTVAL (operands[2]) < 16
    && (1 << INTVAL (operands[2])) == INTVAL (operands[3])"
   "* return output_simode_bld (1, operands);"
-  [(set_attr "cc" "clobber,clobber")
+  [(set_attr "cc" "set_znv,set_znv")
    (set_attr "length" "8,6")])
 
 (define_expand "insv"
    (set_attr "length" "8,6")])
 
 (define_expand "insv"
This page took 0.136236 seconds and 5 git commands to generate.