From: Hans-Peter Nilsson <hp@bitrange.com>
To: binutils@sources.redhat.com
Subject: Committed, cris.cpu: Add mstep insn.
Date: Fri, 28 Jan 2005 01:50:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.58.0501272048210.65507@dair.pair.com> (raw)
Kind of showed up in the GCC testsuite... I hadn't noticed
before, because I ran tests using the v10 version (gcc
-march=v10), where a "real" multiplication insn is used.
* cris.cpu (mstep): Add missing insn.
Index: cris.cpu
===================================================================
RCS file: /cvs/src/src/cpu/cris.cpu,v
retrieving revision 1.2
diff -c -p -r1.2 cris.cpu
*** cris.cpu 21 Dec 2004 04:37:58 -0000 1.2
--- cris.cpu 28 Jan 2005 01:26:23 -0000
***************
*** 3395,3400 ****
--- 3395,3414 ----
(cris-arit5 add SI Rd-sfield Rd-sfield Ps rbit rbit))
)
+ ; MSTEP Rs,Rd [ Rd | 01111111 | Rs ]
+ (dni-cdt-attr
+ mstep "Multiply step"
+ (MACH-PRE-V32)
+ "mstep $Rs,$Rd"
+ (+ Rd MODE_REGISTER RFIX_MSTEP SIZE_FIXED Rs)
+ (sequence
+ ((SI tmpd) (SI tmps))
+ (set tmps Rs)
+ (set tmpd (add (sll Rd 1) (if SI nbit tmps 0)))
+ (set Rd tmpd)
+ (setf-move SI tmpd))
+ )
+
; DSTEP Rs,Rd [ Rd | 01101111 | Rs ]
(dni-cdt
dstep "Division step"
brgds, H-P
reply other threads:[~2005-01-28 1:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSF.4.58.0501272048210.65507@dair.pair.com \
--to=hp@bitrange.com \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).