Wow, this is a nice surprise!  Thanks!

I'll try and take a look at the code and give you feedback, but it
might not be right away.

BTW, you might find this interesting:
http://www.m5sim.org/flyspray/task/18.  It's actually been on our "to
do" list even longer... I think the date is just when we set up the
bug database.

Steve

On Fri, Aug 28, 2009 at 1:26 AM, Timothy M Jones<[email protected]> wrote:
> Hi everyone,
>
> Over the last few weeks I've been working on an implementation of the
> PowerPC ISA for M5. Attached is a patch for it. I realise as I'm writing
> this that I should have probably said in advance that I was doing this, but
> there we go. It's done now.
>
> What it can do:
>
> * Execute PowerPC binaries on AtomicSimpleCPU.
> * Run SpecINT 2000 binaries (when combined with additional system call
> patches which I'll attach separately).
>
> What it can't do:
>
> * Floating point instructions. I'm hoping to work on that over the next
> couple of weeks.
> * O3CPU execution. Well, I haven't tried to be honest, but again, I'm hoping
> to get this working too.
> * Full system mode.
>
> I've based it all on the ARM ISA simply because I've worked with this ISA
> before and know a bit about it. However, there may be some code in there
> that is not relevant to PowerPC, but specific to ARM. I haven't done a
> thorough check, just enough to get things working.
>
> To use it you can build a POWERPC_SE executable. For this I also include my
> file from in build_opts.
>
> If you think that this is useful then I'm more than happy for it to be
> incorporated into the main M5 repository. That said, I'm aware that it might
> not be able to be incorporated in its current form. If there are any
> changes, additions or anything you'd like me to put in, then please just let
> me know.
>
> Also, if there are questions about it then I'm more than happy to answer
> them. I'm sure this email doesn't go into enough detail, but I wasn't sure
> how much or what to say about this so I figured that people could ask what
> they don't know.
>
> I'll now send the system call patches one by one since they are independent
> of the ISA.
>
> Cheers
> Tim
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
> TARGET_ISA = 'powerpc'
> FULL_SYSTEM = 0
> CPU_MODELS = 'AtomicSimpleCPU'
>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>
>
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to