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
This commit is contained in:
Kaushik Phatak 2013-06-12 04:38:37 +00:00 committed by Kaushik Phatak
parent 72d1b359f4
commit a7fca6f045
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -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 @@
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 @@
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