Commit a7fca6f0 by Kaushik Phatak Committed by Kaushik Phatak

constraints.md (U): New constraint.

	* config/rl78/constraints.md (U): New constraint.
	* config/rl78/rl78.md (mulqi3_rl78,mulhi3_rl78,mulhi3_g13): Add
	valloc attribute.

From-SVN: r199976
parent 72d1b359
2013-06-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com>
* config/rl78/constraints.md (U): New constraint.
* config/rl78/rl78.md (*mulqi3_rl78,*mulhi3_rl78,*mulhi3_g13): Add
valloc attribute.
2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com> 2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/57589 PR target/57589
......
...@@ -276,6 +276,7 @@ ...@@ -276,6 +276,7 @@
mov a, x mov a, x
mov %h0, a mov %h0, a
; end of mulqi macro" ; end of mulqi macro"
;; [(set_attr "valloc" "macax")]
) )
(define_insn "*mulhi3_rl78" (define_insn "*mulhi3_rl78"
...@@ -290,6 +291,7 @@ ...@@ -290,6 +291,7 @@
mulhu ; bcax = bc * ax mulhu ; bcax = bc * ax
movw %h0, ax movw %h0, ax
; end of mulhi macro" ; end of mulhi macro"
;; [(set_attr "valloc" "macax")]
) )
(define_insn "*mulhi3_g13" (define_insn "*mulhi3_g13"
...@@ -309,6 +311,7 @@ ...@@ -309,6 +311,7 @@
movw ax, 0xffff6 ; MDBL movw ax, 0xffff6 ; MDBL
movw %h0, ax movw %h0, ax
; end of mulhi macro" ; end of mulhi macro"
;; [(set_attr "valloc" "umul")]
) )
;; 0xFFFF0 is MACR(L). 0xFFFF2 is MACR(H) but we don't care about it ;; 0xFFFF0 is MACR(L). 0xFFFF2 is MACR(H) but we don't care about it
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment