From a7fca6f045a40bb74cbb90993d8befbbee4e29f6 Mon Sep 17 00:00:00 2001 From: Kaushik Phatak Date: Wed, 12 Jun 2013 04:38:37 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/rl78/rl78.md | 3 +++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 86a7cb3a575..e840b830439 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-06-12 Kaushik Phatak + + * 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 PR target/57589 diff --git a/gcc/config/rl78/rl78.md b/gcc/config/rl78/rl78.md index 1bcfc84fdb9..efc26210498 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 -- 2.30.2