From: Dave Brolley <brolley@redhat.com>
To: cgen@sources.redhat.com, sid@sources.redhat.com,
binutils@sources.redhat.com
Subject: [patch][commit] MeP CPU Description
Date: Sat, 22 Sep 2007 10:57:00 -0000 [thread overview]
Message-ID: <46F415AE.5000103@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
Hi,
I've committed the attached to the cgen .cpu description for the MeP
port. This change allows gcc to correctly identify the required argument
types for its internally-generated intrinsic builtin functions for each
insn. The change causes a cosmetic change to opcodes/mep-desc.c, when
regenerated, which I have also committed.
Dave
[-- Attachment #2: mep.sources.ChangeLog --]
[-- Type: text/plain, Size: 149 bytes --]
2007-09-21 Dave Brolley <brolley@redhat.com>
* cpu/mep-core.cpu (rnc, rnuc, rns, rnus, rn3c, rn3uc, rn3s)
(rn3us): CDATA attribute now LONG.
[-- Attachment #3: mep.sources.diff.txt --]
[-- Type: text/plain, Size: 3343 bytes --]
Index: cgen/cpu/mep-core.cpu
===================================================================
RCS file: /cvs/src/src/cgen/cpu/mep-core.cpu,v
retrieving revision 1.1
diff -c -p -r1.1 mep-core.cpu
*** cgen/cpu/mep-core.cpu 5 Feb 2007 19:46:38 -0000 1.1
--- cgen/cpu/mep-core.cpu 21 Sep 2007 18:53:23 -0000
***************
*** 623,641 ****
(dnop rma "register Rm holding pointer" (all-mep-core-isas (CDATA POINTER)) h-gpr f-rm)
! (dnop rnc "register Rn holding char" (all-mep-core-isas (CDATA CHAR)) h-gpr f-rn)
! (dnop rnuc "register Rn holding unsigned char" (all-mep-core-isas (CDATA UCHAR)) h-gpr f-rn)
! (dnop rns "register Rn holding short" (all-mep-core-isas (CDATA SHORT)) h-gpr f-rn)
! (dnop rnus "register Rn holding unsigned short" (all-mep-core-isas (CDATA USHORT)) h-gpr f-rn)
(dnop rnl "register Rn holding long" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
(dnop rnul "register Rn holding unsigned long" (all-mep-core-isas (CDATA ULONG)) h-gpr f-rn)
! (dnop rn3c "register 0-7 holding unsigned char" (all-mep-core-isas (CDATA CHAR)) h-gpr f-rn3)
! (dnop rn3uc "register 0-7 holding byte" (all-mep-core-isas (CDATA UCHAR)) h-gpr f-rn3)
! (dnop rn3s "register 0-7 holding unsigned short" (all-mep-core-isas (CDATA SHORT)) h-gpr f-rn3)
! (dnop rn3us "register 0-7 holding short" (all-mep-core-isas (CDATA USHORT)) h-gpr f-rn3)
! (dnop rn3l "register 0-7 holding unsigned long" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3ul "register 0-7 holding long" (all-mep-core-isas (CDATA ULONG)) h-gpr f-rn3)
(dnop lp "link pointer" (all-mep-core-isas) h-csr 1)
--- 623,641 ----
(dnop rma "register Rm holding pointer" (all-mep-core-isas (CDATA POINTER)) h-gpr f-rm)
! (dnop rnc "register Rn holding char" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
! (dnop rnuc "register Rn holding unsigned char" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
! (dnop rns "register Rn holding short" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
! (dnop rnus "register Rn holding unsigned short" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
(dnop rnl "register Rn holding long" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn)
(dnop rnul "register Rn holding unsigned long" (all-mep-core-isas (CDATA ULONG)) h-gpr f-rn)
! (dnop rn3c "register 0-7 holding unsigned char" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3uc "register 0-7 holding byte" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3s "register 0-7 holding unsigned short" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3us "register 0-7 holding short" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3l "register 0-7 holding unsigned long" (all-mep-core-isas (CDATA LONG)) h-gpr f-rn3)
! (dnop rn3ul "register 0-7 holding long" (all-mep-core-isas (CDATA ULONG)) h-gpr f-rn3)
(dnop lp "link pointer" (all-mep-core-isas) h-csr 1)
reply other threads:[~2007-09-21 19:04 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=46F415AE.5000103@redhat.com \
--to=brolley@redhat.com \
--cc=binutils@sources.redhat.com \
--cc=cgen@sources.redhat.com \
--cc=sid@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).