Patchwork [25/28] mn10300: Use reg_or_am33_const_operand in mulsi3.

login
register
mail settings
Submitter Richard Henderson
Date Jan. 10, 2011, 8:31 p.m.
Message ID <1294691517-19580-26-git-send-email-rth@redhat.com>
Download mbox | patch
Permalink /patch/78216/
State New
Headers show

Comments

Richard Henderson - Jan. 10, 2011, 8:31 p.m.
From: Richard Henderson <rth@twiddle.net>

---
 gcc/config/mn10300/mn10300.md |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
Jeff Law - Jan. 12, 2011, 2:05 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/10/11 13:31, Richard Henderson wrote:
> From: Richard Henderson <rth@twiddle.net>
> 
> ---
>  gcc/config/mn10300/mn10300.md |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
OK.
jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNLbUvAAoJEBRtltQi2kC7FsYH/injrpjRcyRl0/odCExWV2LS
1IEkUccRPMs18UdxZgsUfFCzX26Koq1g88e7xJbUS46Gbbuf5n2t960yEcPfiN0n
b+Y4Rjg/rcQ54leEADlNOSszyT9Qm7ejlsW+ciR9o6lGkmbk8VB+zz9944BQy6yU
+Hrjqc74gQl4Q68qpC+3lxHlxO1MfUXmlQZ7aBOHgiQIjs3RMrlvBXbtu6qXDDt7
dCVgx2BpRA2QjVbIcxxna1fis7sZLnYstn6Cw81WQKKnTfRIOaY0wcwl5YqQ2vcT
+nwqgD1uQ7vW5cXA3oWjmBxR+9ZKMl7Sh6VwFSJSgyAig45fusllfxwky0yCmLs=
=cWr7
-----END PGP SIGNATURE-----
Richard Henderson - Jan. 12, 2011, 6:01 p.m.
On 01/12/2011 06:05 AM, Jeff Law wrote:
> OK.

Thanks.  Blocked on [17/28], the multiply cleanup patch.


r~
Jeff Law - Jan. 12, 2011, 6:07 p.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/12/11 11:01, Richard Henderson wrote:
> On 01/12/2011 06:05 AM, Jeff Law wrote:
>> OK.
> 
> Thanks.  Blocked on [17/28], the multiply cleanup patch.
Yea, I figured there was going to be some blockages.  I'm going to be
looking at the bigger patches during bootstrap/testing downtimes.

jeff


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNLe3vAAoJEBRtltQi2kC7kMEH/3pjwXzLl55jHn+A/ubjnUsL
tfN/DQHVj2SPR+1uPOGAtKld889AVlAzpJ7eCDZVnvHKVLCyYTrNxZq57yM5nS3Y
+UrYGqveQLv2ycTprKD9IWqexlt4WJ5lDHuGC4rzLm7+2Q33JxxqzUnd0lqaIPFS
Kbntxg3tfDC9+labu5PJ6YkbsPC4qDj94PfGX5xiinuuFt6C1TvxAqMjmU7kK2nm
89BxU6OjINLa/ttMdsdZWz5H2L0Pnw63yxsg0CJ1SYZaAHUg3sn8xCAjDYBmW4jl
FLXzps6YCDJWVfZjvIsnN+BP1J6UCp994VehqHAPYBfTNOqpTUFLeR88iUOmUo4=
=4N+K
-----END PGP SIGNATURE-----

Patch

diff --git a/gcc/config/mn10300/mn10300.md b/gcc/config/mn10300/mn10300.md
index edfdb5d..680d55e 100644
--- a/gcc/config/mn10300/mn10300.md
+++ b/gcc/config/mn10300/mn10300.md
@@ -1004,19 +1004,19 @@ 
 )
 
 (define_expand "mulsi3"
-  [(parallel [(set (match_operand:SI          0 "register_operand"  "")
-		   (mult:SI (match_operand:SI 1 "register_operand"  "")
-			    (match_operand:SI 2 "nonmemory_operand" "")))
-	      (clobber (match_scratch:SI      3 ""))
+  [(parallel [(set (match_operand:SI          0 "register_operand")
+		   (mult:SI (match_operand:SI 1 "register_operand")
+			    (match_operand:SI 2 "reg_or_am33_const_operand")))
+	      (clobber (match_scratch:SI      3))
 	      (clobber (reg:CC CC_REG))])]
   ""
 )
 
 (define_insn "*mulsi3"
-  [(set (match_operand:SI          0 "register_operand"  "=D, r,r")
-	(mult:SI (match_operand:SI 2 "register_operand"  "%0, 0,r")
-		 (match_operand:SI 3 "nonmemory_operand" " D,ri,r")))
-   (clobber (match_scratch:SI      1                     "=z, z,r"))
+  [(set (match_operand:SI          0 "register_operand"          "=D, r,r")
+	(mult:SI (match_operand:SI 2 "register_operand"          "%0, 0,r")
+		 (match_operand:SI 3 "reg_or_am33_const_operand" " D,ri,r")))
+   (clobber (match_scratch:SI      1                             "=z, z,r"))
    (clobber (reg:CC CC_REG))]
   ""
 {