1 Apr 2009 16:14
3 Apr 2009 00:02
Re: make: ERROR: Unable to find file "./../cgen/cgen-opc.scm" in load path
Martin Walter <martin.walter <at> gmail.com>
2009-04-02 22:02:38 GMT
2009-04-02 22:02:38 GMT
> ... > ERROR: In procedure primitive-load-path: > ERROR: Unable to find file "./../cgen/cgen-opc.scm" in load path > ... This patch to opcodes/configure.in should help: # --- configure.in 2009-04-01 23:46:30.000000000 +0200 +++ configure.in 2009-04-01 23:47:11.000000000 +0200 <at> <at> -76,7 +76,7 <at> <at> AC_CHECK_DECLS(basename) cgen_maint=no -cgendir='$(srcdir)/../cgen' +cgendir='$(shell pwd)/../cgen' AC_ARG_ENABLE(cgen-maint, [ --enable-cgen-maint[=dir] build cgen generated files], Martin
8 Apr 2009 04:39
mep: Add C5 support
DJ Delorie <dj <at> redhat.com>
2009-04-08 02:39:55 GMT
2009-04-08 02:39:55 GMT
This patch adds support for the MeP C5 core. This adds a few new opcodes, as well as extending (in a backward compatible way) some existing opcodes. Ok? * cpu/mep-c5.cpu: New. * cpu/mep-core.cpu: Add C5 support. * cpu/mep.opc: Likewise. Index: cpu/mep-c5.cpu =================================================================== RCS file: cpu/mep-c5.cpu diff -N cpu/mep-c5.cpu --- cpu/mep-c5.cpu 1 Jan 1970 00:00:00 -0000 +++ cpu/mep-c5.cpu 8 Apr 2009 02:31:00 -0000 <at> <at> -0,0 +1,263 <at> <at> +; Insns introduced for the MeP-c5 core +; + +(dnf f-c5n4 "extended field" (all-mep-core-isas) 16 4) +(dnf f-c5n5 "extended field" (all-mep-core-isas) 20 4) +(dnf f-c5n6 "extended field" (all-mep-core-isas) 24 4) +(dnf f-c5n7 "extended field" (all-mep-core-isas) 28 4) +(dnf f-rl5 "register l c5" (all-mep-core-isas) 20 4) +(dnf f-12s20 "extended field" (all-mep-core-isas) 20 12) + +(dnop rl5 "register Rl c5" (all-mep-core-isas) h-gpr f-rl5) +(dnop cdisp12 "copro addend (12 bits)" (all-mep-core-isas) h-sint f-12s20) + +(dnci stcb_r "store in control bus space" (VOLATILE (MACH c5))(Continue reading)
8 Apr 2009 14:49
Re: mep: Add C5 support
Frank Ch. Eigler <fche <at> redhat.com>
2009-04-08 12:49:55 GMT
2009-04-08 12:49:55 GMT
Hi - > This patch adds support for the MeP C5 core. This adds a few new > opcodes, as well as extending (in a backward compatible way) some > existing opcodes. Ok? I can't see anything grossly wrong. If brolley doesn't have objections, you could consider yourself a maintainer of the port. - FChE
8 Apr 2009 17:34
Re: mep: Add C5 support
Dave Brolley <brolley <at> redhat.com>
2009-04-08 15:34:57 GMT
2009-04-08 15:34:57 GMT
Frank Ch. Eigler wrote: > Hi - > > >> This patch adds support for the MeP C5 core. This adds a few new >> opcodes, as well as extending (in a backward compatible way) some >> existing opcodes. Ok? >> > > I can't see anything grossly wrong. If brolley doesn't have > objections, you could consider yourself a maintainer of the port. > > I see no issues with the patch or with DJ being a maintainer of this port. Dave
8 Apr 2009 22:42
Re: mep: Add C5 support
DJ Delorie <dj <at> redhat.com>
2009-04-08 20:42:16 GMT
2009-04-08 20:42:16 GMT
> > I can't see anything grossly wrong. If brolley doesn't have > > objections, you could consider yourself a maintainer of the port. > > > > > I see no issues with the patch or with DJ being a maintainer of this port. Committed, then. Thanks! Where do cgen port maintainers get listed? Or did you mean for me to add myself to the binutils port maintain list?
8 Apr 2009 23:05
Re: mep: Add C5 support
Frank Ch. Eigler <fche <at> redhat.com>
2009-04-08 21:05:34 GMT
2009-04-08 21:05:34 GMT
Hi - > Where do cgen port maintainers get listed? I'm not aware of a central file for it. If you like, you can create one. Or you can just assure yourself not to wait for review comments except when you judge that necessary. - FChE
8 Apr 2009 23:08
intrinsics.scm patch
DJ Delorie <dj <at> redhat.com>
2009-04-08 21:08:51 GMT
2009-04-08 21:08:51 GMT
The routines in intrinsics.scm exist to provide intrinsics definitions to GCC. However, the way GCC's internals work has changed since they were written, and some aspects are no longer supportable. This patch updates the intrinsics support as such: * COP* modes are not going to be supported in FSF gcc. Instead, regular modes will be used and GCC will manage the allocation of registers according to the insns' needs. * "pass by reference" no longer works as optimizations are handled at the tree stage, before we have a chance to insert our pass-by-reference semantics. Intead, the user must pass the address of a variable. This happens to make the .h file includable. * I also add "--(Continue reading)syscall--" to the list of "don't make these intrinsics". The corresponding gcc patch is here: http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01725.html Comments? Ok to install? * intrinsics.scm (guess-mode): Drop COP* syntax. (need-insn): Add "--syscall--" to the list. (enum-type): Drop COP* syntax. (intrinsics.h): Likewise. (intrinsic-protos.h): Change file header to allow it to be included.
9 Apr 2009 17:28
Re: intrinsics.scm patch
Dave Brolley <brolley <at> redhat.com>
2009-04-09 15:28:36 GMT
2009-04-09 15:28:36 GMT
Hi DJ, I can't comment on this, having never worked with it. Probably you and Richard Sandiford are the only ones who have worked on this. Dave DJ Delorie wrote: > The routines in intrinsics.scm exist to provide intrinsics definitions > to GCC. However, the way GCC's internals work has changed since they > were written, and some aspects are no longer supportable. This patch > updates the intrinsics support as such: > > * COP* modes are not going to be supported in FSF gcc. Instead, > regular modes will be used and GCC will manage the allocation of > registers according to the insns' needs. > > * "pass by reference" no longer works as optimizations are handled at > the tree stage, before we have a chance to insert our > pass-by-reference semantics. Intead, the user must pass the address > of a variable. This happens to make the .h file includable. > > * I also add "--(Continue reading)syscall--" to the list of "don't make these intrinsics". > > The corresponding gcc patch is here: > > http://gcc.gnu.org/ml/gcc-patches/2009-03/msg01725.html > > Comments? Ok to install? >
17 Apr 2009 04:07
Re: intrinsics.scm patch
DJ Delorie <dj <at> redhat.com>
2009-04-17 02:07:30 GMT
2009-04-17 02:07:30 GMT
> I can't comment on this, having never worked with it. Probably you and > Richard Sandiford are the only ones who have worked on this. As far as I know, only MeP uses it (or will, once the port is accepted). Richard, do you have any comments on the patch? Or would you like me to take over intrinsics.scm? I did add another change, to include aliases in the intrinsics list. 2009-04-16 DJ Delorie <dj <at> redhat.com> * intrinsics.scm (intrinsics-analyze!): Include aliases. (guess-mode): Drop COP* syntax. (need-insn): Add "--(Continue reading)syscall--" to the list. (enum-type): Drop COP* syntax. (intrinsics.h): Likewise. (intrinsic-protos.h): Change file header to allow it to be included. Index: intrinsics.scm =================================================================== RCS file: /cvs/src/src/cgen/intrinsics.scm,v retrieving revision 1.1 diff -p -U3 -r1.1 intrinsics.scm --- intrinsics.scm 5 Nov 2007 15:46:19 -0000 1.1 +++ intrinsics.scm 17 Apr 2009 01:53:27 -0000 <at> <at> -26,7 +26,7 <at> <at> (define (intrinsics-analyze!)
RSS Feed