aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rl78
diff options
context:
space:
mode:
authorKaushik Phatak <kaushik.phatak@kpitcummins.com>2013-06-12 04:38:37 +0000
committerKaushik Phatak <kaushikp@gcc.gnu.org>2013-06-12 04:38:37 +0000
commita7fca6f045a40bb74cbb90993d8befbbee4e29f6 (patch)
treeb4c8aea711919e76e93f330f16994b756cc2d37e /gcc/config/rl78
parent72d1b359f43da88496a55f434c8b312048339a2c (diff)
downloadgcc-a7fca6f045a40bb74cbb90993d8befbbee4e29f6.zip
gcc-a7fca6f045a40bb74cbb90993d8befbbee4e29f6.tar.gz
gcc-a7fca6f045a40bb74cbb90993d8befbbee4e29f6.tar.bz2
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
Diffstat (limited to 'gcc/config/rl78')
-rw-r--r--gcc/config/rl78/rl78.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rl78/rl78.md b/gcc/config/rl78/rl78.md
index 1bcfc84..efc2621 100644
--- a/gcc/config/rl78/rl78.md
+++ b/gcc/config/rl78/rl78.md
@@ -276,6 +276,7 @@
mov a, x
mov %h0, a
; end of mulqi macro"
+;; [(set_attr "valloc" "macax")]
)
(define_insn "*mulhi3_rl78"
@@ -290,6 +291,7 @@
mulhu ; bcax = bc * ax
movw %h0, ax
; end of mulhi macro"
+;; [(set_attr "valloc" "macax")]
)
(define_insn "*mulhi3_g13"
@@ -309,6 +311,7 @@
movw ax, 0xffff6 ; MDBL
movw %h0, ax
; end of mulhi macro"
+;; [(set_attr "valloc" "umul")]
)
;; 0xFFFF0 is MACR(L). 0xFFFF2 is MACR(H) but we don't care about it