This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch][commit] MeP CPU Description


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
2007-09-21  Dave Brolley  <brolley@redhat.com>

	* cpu/mep-core.cpu (rnc, rnuc, rns, rnus, rn3c, rn3uc, rn3s) 
	(rn3us): CDATA attribute now LONG.
	
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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]