From: "Robert Cragie" <rcc@jennic.com>
To: "Ben Elliston" <bje@redhat.com>
Cc: <sid@sources.redhat.com>
Subject: RE: FW: Trying to run on pid7t board
Date: Fri, 23 Aug 2002 08:19:00 -0000 [thread overview]
Message-ID: <NDBBLOIOMLKELOJBAPAGIEIHCOAA.rcc@jennic.com> (raw)
In-Reply-To: <15718.12280.720928.164710@tooth.toronto.redhat.com>
I can't find the directory you are referring to.
What I have done is this:
In sid/src/cgen/cpu/arm7.cpu, I have added the following instruction:
(dnai ldmia-psr "Load multiple registers (postindex, increment, update PSR)"
()
"FIXME"
(+ cond (f-op3 4) (f-preindex? 0) (f-up-down 1) (f-load-psr? 1)
(f-write-back? 0) (f-load? 1) rn reglist)
(sequence ((WI addr))
(set addr rn)
(multi-action 0 ldmia-action)
(multi-action 1 ldmia-action)
(multi-action 2 ldmia-action)
(multi-action 3 ldmia-action)
(multi-action 4 ldmia-action)
(multi-action 5 ldmia-action)
(multi-action 6 ldmia-action)
(multi-action 7 ldmia-action)
(multi-action 8 ldmia-action)
(multi-action 9 ldmia-action)
(multi-action 10 ldmia-action)
(multi-action 11 ldmia-action)
(multi-action 12 ldmia-action)
(multi-action 13 ldmia-action)
(multi-action 14 ldmia-action)
(multi-action 15 ldmia-action-r15)
(set (reg h-cpsr) (reg h-spsr)))
)
Will this work OK? I realise this is an incomplete implementation, and only
addresses the failed instruction, but one step at a time, as I am not at all
familiar with Scheme or CGEN.
So how do I rebuild sid to get this change in? I tried 'make all' in the
build directory originally created by src/configure and it didn't seem to do
anything.
Robert Cragie, Design Engineer
_______________________________________________________________
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
http://www.jennic.com Tel: +44 (0) 114 281 2655
> -----Original Message-----
> From: Ben Elliston [mailto:bje@redhat.com]
> Sent: 23 August 2002 13:52
> To: Robert Cragie
> Cc: sid@sources.redhat.com
> Subject: Re: FW: Trying to run on pid7t board
>
>
> >>>>> "Robert" == Robert Cragie <rcc@jennic.com> writes:
>
> Robert> 0x8250: X_INVALID
>
> Robert> ldmeqfd sp,{r0-r14,pc}^
>
> Robert> I confess I know very little about this, but I notice in
> Robert> CGEN, in arm7.cpu, only two ldmia's are supported (PUSWL =
> Robert> 01001 and PUSWL = 01011). The opcode above (PUSWL: 01101)
> Robert> (i.e. restore user mode banked registers) is not included,
> Robert> so does this need to be in here too in some guise? Would
> Robert> this be causing the invalid prefetch?
>
> Yes. It should not take too much work to add that missing instruction
> variant and regenerate the cpu files from the CGEN description. "make
> cgen-all" in the cgen-cpu/arm7t subdirectory ought to do it.
>
> Ben
>
next prev parent reply other threads:[~2002-08-23 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-23 4:14 Robert Cragie
2002-08-23 5:52 ` Ben Elliston
2002-08-23 8:19 ` Robert Cragie [this message]
2002-08-23 10:57 ` Ben Elliston
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=NDBBLOIOMLKELOJBAPAGIEIHCOAA.rcc@jennic.com \
--to=rcc@jennic.com \
--cc=bje@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).