rx.md (tablejump): Add missing label.
authorNick Clifton <nickc@redhat.com>
Wed, 5 Oct 2011 10:26:58 +0000 (10:26 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 5 Oct 2011 10:26:58 +0000 (10:26 +0000)
* config/rx/rx.md (tablejump): Add missing label.
(adddi3_internal): Mark operand 0 as early-clobbered.
(smaxsi3): Revert previous delta.
(adc_internal): Fix whitespace in generated asm.
(adc_flags): Likewise.

From-SVN: r179542

gcc/ChangeLog
gcc/config/rx/rx.md

index 015db8a58261d8e2bf93af12b7cfeacc4eabb286..a50a4f4430761d1372349cdc9c84a5eb6b0bb445 100644 (file)
@@ -1,3 +1,11 @@
+2011-10-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.md (tablejump): Add missing label.
+       (adddi3_internal): Mark operand 0 as early-clobbered.
+       (smaxsi3): Revert previous delta.
+       (adc_internal): Fix whitespace in generated asm.
+       (adc_flags): Likewise.
+
 2011-10-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
        * expmed.c (expand_mult_highpart_optab): Replace optab_handler
index f082ed2763cd7dca4b4821932e8587433603149a..5ce1c3976f33bbce1a3381b222de3359054248c6 100644 (file)
   ""
   { return flag_pic ? (TARGET_AS100_SYNTAX ? "\n?:\tbra\t%0"
                                           : "\n1:\tbra\t%0")
-                                          : "jmp\t%0";
+                                          : "\n1:jmp\t%0";
   }
   [(set_attr "timings" "33")
    (set_attr "length" "2")]
          (match_operand:SI   2 "rx_source_operand" "r,Sint08,Sint16,Sint24,i,Q")))
     (clobber (reg:CC CC_REG))]
   "reload_completed"
-  "adc %2,%0"
+  "adc\t%2, %0"
   [(set_attr "timings" "11,11,11,11,11,33")
    (set_attr "length"   "3,4,5,6,7,6")]
 )
            (match_dup 2))
          (const_int 0)))]
   "reload_completed && rx_match_ccmode (insn, CC_ZSCmode)"
-  "adc %2,%0"
+  "adc\t%2, %0"
   [(set_attr "timings" "11,11,11,11,11,33")
    (set_attr "length"   "3,4,5,6,7,6")]
 )
 })
 
 (define_insn_and_split "adddi3_internal"
-  [(set (match_operand:SI          0 "register_operand"  "=r")
+  [(set (match_operand:SI          0 "register_operand"  "=&r")
        (plus:SI (match_operand:SI 2 "register_operand"  "r")
                 (match_operand:SI 3 "rx_source_operand" "riQ")))
    (set (match_operand:SI          1 "register_operand"  "=r")
    (set_attr "timings" "22,44")]
 )
 
-(define_insn "smax<int_modes:mode>3"
-  [(set (match_operand:int_modes                 0 "register_operand" "=r,r,r,r,r,r")
-       (smax:int_modes (match_operand:int_modes 1 "register_operand" "%0,0,0,0,0,0")
-                       (match_operand:int_modes 2 "rx_source_operand"
-                                                "r,Sint08,Sint16,Sint24,i,Q")))]
+(define_insn "smaxsi3"
+  [(set (match_operand:SI          0 "register_operand" "=r,r,r,r,r,r")
+       (smax:SI (match_operand:SI 1 "register_operand" "%0,0,0,0,0,0")
+                (match_operand:SI 2 "rx_source_operand"
+                                  "r,Sint08,Sint16,Sint24,i,Q")))]
   ""
   "max\t%Q2, %0"
   [(set_attr "length" "3,4,5,6,7,6")