public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* [patch][commit] MeP CPU Description
@ 2007-09-22 10:57 Dave Brolley
  0 siblings, 0 replies; only message in thread
From: Dave Brolley @ 2007-09-22 10:57 UTC (permalink / raw)
  To: cgen, sid, binutils

[-- 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-21 19:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-22 10:57 [patch][commit] MeP CPU Description Dave Brolley

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).