[rl78] allow const->far moves
diff mbox

Message ID 201408150023.s7F0Nfkg027375@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie Aug. 15, 2014, 12:23 a.m. UTC
Minor tweak, committed.

	* config/rl78/rl78-virt.md (movhi_virt): Allow const->far moves.

Patch
diff mbox

Index: config/rl78/rl78-virt.md
===================================================================
--- config/rl78/rl78-virt.md	(revision 213994)
+++ config/rl78/rl78-virt.md	(working copy)
@@ -43,7 +43,7 @@ 
 
 (define_insn "*movhi_virt"
   [(set (match_operand:HI 0 "nonimmediate_operand" "=vS,  Y,   v,   Wfr")
-	(match_operand:HI 1 "general_operand"      "viYS, viS, Wfr, v"))]
+	(match_operand:HI 1 "general_operand"      "viYS, viS, Wfr, vi"))]
   "rl78_virt_insns_ok ()"
   "v.movw %0, %1"
   [(set_attr "valloc" "op1")]