summaryrefslogtreecommitdiff
path: root/gcc/config/rl78/rl78-real.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/rl78/rl78-real.md')
-rw-r--r--gcc/config/rl78/rl78-real.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rl78/rl78-real.md b/gcc/config/rl78/rl78-real.md
index 27ff60fa932..326e703a969 100644
--- a/gcc/config/rl78/rl78-real.md
+++ b/gcc/config/rl78/rl78-real.md
@@ -157,7 +157,7 @@
[(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"
@@ -167,7 +167,7 @@
[(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"
)