]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rl78-expand.md (umulqihi3): Disable for G10.
authorDJ Delorie <dj@redhat.com>
Fri, 15 Aug 2014 02:30:22 +0000 (22:30 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 15 Aug 2014 02:30:22 +0000 (22:30 -0400)
* config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
* config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
(umulqihi3_virt): Likewise.
* config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
(umulqihi3_real): Likewise.

From-SVN: r213996

gcc/ChangeLog
gcc/config/rl78/rl78-expand.md
gcc/config/rl78/rl78-real.md
gcc/config/rl78/rl78-virt.md

index e5931f69650e60f6a1d5f5e848f0dbb4fb774aa0..88196b29900e6aea925770b53113616cd5c7b2dc 100644 (file)
@@ -1,5 +1,11 @@
 2014-08-14  DJ Delorie  <dj@redhat.com>
 
+       * config/rl78/rl78-expand.md (umulqihi3): Disable for G10.
+       * config/rl78/rl78-virt.md (umulhi3_shift_virt): Likewise.
+       (umulqihi3_virt): Likewise.
+       * config/rl78/rl78-real.md (umulhi3_shift_real): Likewise.
+       (umulqihi3_real): Likewise.
+
        * config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.
 
 2014-08-14  Jan Hubicka  <hubicka@ucw.cz>
index f61e444b5da8300eca695d071bb1e534094cb27e..1fc70a9a0adfdf52d8a9cad266b805a3bc76bc47 100644 (file)
   [(set (match_operand:HI 0 "register_operand")
         (mult:HI (zero_extend:HI (match_operand:QI 1 "register_operand"))
                  (zero_extend:HI (match_operand:QI 2 "register_operand"))))]
-  ""
+  "!TARGET_G10"
   ""
 )
 
index 27ff60fa9324fdf47ea605a348954eeb34f85834..326e703a9699e22adcf5cc319d42e6721da986ad 100644 (file)
   [(set (match_operand:HI 0 "register_operand" "=A,A")
         (mult:HI (match_operand:HI 1 "rl78_nonfar_operand" "0,0")
                  (match_operand:HI 2 "rl78_24_operand" "N,i")))]
-  "rl78_real_insns_ok ()"
+  "rl78_real_insns_ok () && !TARGET_G10"
   "@
    shlw\t%0, 1
    shlw\t%0, 2"
   [(set (match_operand:HI 0 "nonimmediate_operand" "=A")
         (mult:HI (zero_extend:HI (match_operand:QI 1 "general_operand" "%a"))
                  (zero_extend:HI (match_operand:QI 2 "general_operand" "x"))))]
-  "rl78_real_insns_ok ()"
+  "rl78_real_insns_ok () && !TARGET_G10"
   "mulu\t%2"
 )
 
index 6f633d39ea52d80251218dffeb27963347c1eec0..39488af98ecb5015aa2b44ad24aeda39f95ccd7c 100644 (file)
@@ -91,7 +91,7 @@
   [(set (match_operand:HI 0 "register_operand" "=vm")
         (mult:HI (match_operand:HI 1 "rl78_nonfar_operand" "%vim")
                  (match_operand:HI 2 "rl78_24_operand" "Ni")))]
-  "rl78_virt_insns_ok ()"
+  "rl78_virt_insns_ok () && !TARGET_G10"
   "v.mulu\t%0, %1, %2"
   [(set_attr "valloc" "umul")]
 )
   [(set (match_operand:HI 0 "register_operand" "=vm")
         (mult:HI (zero_extend:HI (match_operand:QI 1 "rl78_nonfar_operand" "%vim"))
                  (zero_extend:HI (match_operand:QI 2 "general_operand" "vim"))))]
-  "rl78_virt_insns_ok ()"
+  "rl78_virt_insns_ok () && !TARGET_G10"
   "v.mulu\t%0, %2"
   [(set_attr "valloc" "umul")]
 )