Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2012-08

MIPS target: progress report?

6 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mark Morgan Lloyd

Does anybody have an update on where the MIPS port has got to after the flurry of activity in June?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Michael Schnell
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
Does anybody have an update on where the MIPS port has got to after the flurry of activity in June?

I'm very interested in this as well, as I am planning to do a controller based on a (future) PIC32 chip, that has a MIPS CPU and lots of internal ROM and RAM and thus allows for creating a very cheap controller with a very small chip count.

-Michael

Reply by email

Sven Barth
to Mark Morgan Lloyd: Does anybody have an update on where the MIPS port has got to after the flurry of…
Mark Morgan Lloyd wrote
Does anybody have an update on where the MIPS port has got to after the flurry of activity in June?

I can not say any details (I'm not envolved with the MIPS port), but we have at least on testsuite running on mipsel-linux with around 150 errors. See here:
http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?action=1&failedonly=1&run1id=117971

So I'd say that it's not as good as other platforms, but it's not entirely bad either (as most tests seem to pass already).

Regards,
Sven

Reply by email

Pierre Free Pascal
to Mark Morgan Lloyd: Does anybody have an update on where the MIPS port has got to after the flurry of…

I worked on it quite some time before leaving for holidays, and tried to get it working again with current svn trunk... I haven't yet checked if current svn trunk is
usable for mipsel target.

Currently, using revision 21906
you should be able to do a complete 'make all install' at fpcsrc level with one restriction:
'make all' normally uses -O2 option
by default, but this optimization option is still broken for mipsel cpu.
adding
FPCCPUOPT=-O1 should enable a successful completion of the 'make all'.

As Sven mentioned , it still has something like 145 failures for a testsuite, so there are still lots of open issues.

Commit rev 22196 fixes one problem related to fpu register saving.

Pierre Muller

Show quoted text 15 lines
-----Message d'origine----- De : [mailto:fpc-devel- De la part de Mark Morgan Lloyd Envoyé : mercredi 22 août 2012 12:16 À : Objet : [fpc-devel] MIPS target: progress report? Does anybody have an update on where the MIPS port has got to after the flurry of activity in June? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

colleagues]

_______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Mark Morgan Lloyd
to Pierre Free Pascal
Pierre Free Pascal wrote 19 lines
I worked on it quite some time before leaving for holidays, and tried to get it working again with current svn trunk... I haven't yet checked if current svn trunk is usable for mipsel target. Currently, using revision 21906 you should be able to do a complete 'make all install' at fpcsrc level with one restriction: 'make all' normally uses -O2 option by default, but this optimization option is still broken for mipsel cpu. adding FPCCPUOPT=-O1 should enable a successful completion of the 'make all'. As Sven mentioned , it still has something like 145 failures for a testsuite, so there are still lots of open issues. Commit rev 22196 fixes one problem related to fpu register saving.

Thanks for that Pierre, and thanks for the work you've put into it. I don't know whether I'll be any use for fixing any of the remaining issues, but will make a point of getting it onto one of my development systems.

I'm told that Lemote is starting to make server-style boxes (8 cores, 16Gb) but price isn't known yet.

When I started comparing the FPC source with the unofficial MIPS fork on Sourceforge, I was hoping that I'd be able to make some sense of what was going on and document it. I think that Paul Robinson approached a potential zSeries (IBM mainframe port) with the same intention http://wiki.lazarus.freepascal.org/ZSeries#Implementation_status

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Fuxin Zhang
Does anybody have an update on where the MIPS port has got to after the flurry of activity in June?

Since it cannot catch the time requirement of our project, I have suspended the work temporary due to other affairs. The last time I checked the code(about the end of July) it is able to run the testbench, people are working on PIC code support etc.

Show quoted text 11 lines
-- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email