Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Nikolai Zhubr
Hi, 09.06.2012 5:27, Fuxin Zhang: I get a copy from my colleague for N32 ABI, no N64 found yet.See http://www.lemote.com/upfiles/mips-abi-n32.pdf. I put it here because no confidential sign in the document. But I am not sure whether it comes from MIPS as a material to licensee. Will check later.

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Florian Klämpfl
Am 08.06.2012 14:54, schrieb microc...@zoho.com: On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention was to at least have URLs for the various ABIs. I rather ground to a halt

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Mark Morgan Lloyd
Florian Klämpfl wrote: Am 08.06.2012 14:54, schrieb microc...@zoho.com: On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention was to at least have URLs for the various ABIs. I rather

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Florian Klämpfl
Am 09.06.2012 16:44, schrieb Mark Morgan Lloyd: Florian Klämpfl wrote: Am 08.06.2012 14:54, schrieb microc...@zoho.com: On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention was to

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread microcode
On Sat, 9 Jun 2012 09:27:30 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: Fuxin, is there a formal 64 bit ABI from MIPS Inc.? I think you said earlier the Linux 64 bit ABI is not exactly stable, but there are a few other OS running on 64 bit MIPS (OpenBSD and FreeBSD and NetBSD, as

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Mark Morgan Lloyd
microc...@zoho.com wrote: On Sat, 9 Jun 2012 09:27:30 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: Fuxin, is there a formal 64 bit ABI from MIPS Inc.? I think you said earlier the Linux 64 bit ABI is not exactly stable, but there are a few other OS running on 64 bit MIPS (OpenBSD and

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread Fuxin Zhang
Please keep copyright in mind when adding new stuff! I have removed the link in the wiki and the files from lemote web. Sorry for the thinkless action. Opening the ABI documents should be a good thing to help its eco-system, if I have chance I will try to pasuade mips. Absolutely. However I

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread microcode
On Sat, 09 Jun 2012 20:52:01 + Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: microc...@zoho.com wrote: On Sat, 9 Jun 2012 09:27:30 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: Fuxin, is there a formal 64 bit ABI from MIPS Inc.? I think you said earlier the Linux

Re: [fpc-devel] progress of freepascal for mips

2012-06-09 Thread microcode
On Sun, 10 Jun 2012 08:18:36 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: Please keep copyright in mind when adding new stuff! I have removed the link in the wiki and the files from lemote web. Sorry for the thinkless action. Opening the ABI documents should be a good thing to help

RE: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Pierre Free Pascal
-Message d'origine- De : fpc-devel-boun...@lists.freepascal.org [mailto:fpc-devel- boun...@lists.freepascal.org] De la part de Fuxin Zhang Envoyé : vendredi 8 juin 2012 02:07 À : Jonas Maebe Cc : FPC developers' list Objet : Re: [fpc-devel] progress of freepascal for mips

Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Mark Morgan Lloyd
Pierre Free Pascal wrote: It is not closely following a specific abi, but for parameters it works like this: Up to 6 parameters are passed in registers $r4 to $r9, others on the stack starting at offset 24 (=6*4). (I had to adapt the 6 parameter very of linux/mips/syscall.inc in order to

RE: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Fuxin Zhang
Hi Fuxin, I committed to trunk your changes together with a few changes to cpupara that allow me to generate a compiler (not yet operational, but its going forward). Florian asked be to commit it. Thank you for your work, then I will start based on the trunk. It is not closely

Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Fuxin Zhang
I made a start at trying to get assembler and backend info into the Wiki, my intention was to at least have URLs for the various ABIs. I rather ground to a halt after getting examples of the assembler format together for most targets, if anybody could contribute ABI stuff it would be much

Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread microcode
On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention was to at least have URLs for the various ABIs. I rather ground to a halt after getting examples of the assembler format

Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Mark Morgan Lloyd
microc...@zoho.com wrote: On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention was to at least have URLs for the various ABIs. I rather ground to a halt after getting examples of the

Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread microcode
On Fri, 08 Jun 2012 13:32:18 + Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk wrote: microc...@zoho.com wrote: On Fri, 8 Jun 2012 17:15:51 +0800 (CST) Fuxin Zhang zhan...@lemote.com wrote: I made a start at trying to get assembler and backend info into the Wiki, my intention

Re: Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Fuxin Zhang
Fuxin, is there a formal 64 bit ABI from MIPS Inc.? I think you said earlier the Linux 64 bit ABI is not exactly stable, but there are a few other OS running on 64 bit MIPS (OpenBSD and FreeBSD and NetBSD, as far as I know). If MIPS or some other standards body has documented the 64 bit

Re: Re: [fpc-devel] progress of freepascal for mips

2012-06-08 Thread Fuxin Zhang
Fuxin, is there a formal 64 bit ABI from MIPS Inc.? I think you said earlier the Linux 64 bit ABI is not exactly stable, but there are a few other OS running on 64 bit MIPS (OpenBSD and FreeBSD and NetBSD, as far as I know). If MIPS or some other standards body has documented the 64 bit

Re: [fpc-devel] progress of freepascal for mips

2012-06-07 Thread Fuxin Zhang
Fuxin Zhang wrote on Sat, 02 Jun 2012: With the attached patch (against revision 21440), most of the tests can now pass, for example, the test directory has only the following failinglist: When committing/submitting patches in the future, please split them up into smaller independent

Re: [fpc-devel] progress of freepascal for mips

2012-06-06 Thread Jonas Maebe
Fuxin Zhang wrote on Sat, 02 Jun 2012: With the attached patch (against revision 21440), most of the tests can now pass, for example, the test directory has only the following failinglist: When committing/submitting patches in the future, please split them up into smaller independent

Re: [fpc-devel] progress of freepascal for mips

2012-06-05 Thread Sven Barth
Am 05.06.2012 02:43, schrieb Leonardo M. Ramé: From: Jonas Maebejonas.ma...@elis.ugent.be To: Leonardo M. Ramémartinr...@yahoo.com; FPC developers' listfpc-devel@lists.freepascal.org Sent: Monday, June 4, 2012 7:19 PM Subject: Re: [fpc-devel] progress

Re: [fpc-devel] progress of freepascal for mips

2012-06-05 Thread Jonas Maebe
microcode wrote on Tue, 05 Jun 2012: The best OS is the one IBM made for it, AIX which is a POSIX UNIX with IBM extensions (and great doc!). It's true that IBM has great documentation. But AIX has quite a few quirks compared to other Unices, even commercial/traditional big iron ones like

Re: [fpc-devel] progress of freepascal for mips

2012-06-05 Thread Mark Morgan Lloyd
microc...@zoho.com wrote: On Mon, 4 Jun 2012 14:56:06 -0700 (PDT) Leonardo M. Ramé martinr...@yahoo.com wrote: You are right, the machine (http://www-03.ibm.com/systems/power/hardware/560/specs.html) doesn't have a MIPS processor, but an IBM's Power6. BTW, does anyone know which Linux

Re: [fpc-devel] progress of freepascal for mips

2012-06-05 Thread Leonardo M . Ramé
From: Mark Morgan Lloyd markmll.fpc-de...@telemetry.co.uk To: fpc-devel@lists.freepascal.org Sent: Tuesday, June 5, 2012 6:38 AM Subject: Re: [fpc-devel] progress of freepascal for mips microc...@zoho.com wrote: On Mon, 4 Jun 2012 14:56:06 -0700 (PDT

Re: [fpc-devel] progress of freepascal for mips

2012-06-04 Thread Leonardo M . Ramé
://leonardorame.blogspot.com From: microc...@zoho.com microc...@zoho.com To: fpc-devel@lists.freepascal.org Sent: Saturday, June 2, 2012 3:58 PM Subject: Re: [fpc-devel] progress of freepascal for mips On Sat, 2 Jun 2012 07:04:24 -0700 (PDT) Leonardo M. Ramé martinr...@yahoo.com wrote

Re: [fpc-devel] progress of freepascal for mips

2012-06-04 Thread Jonas Maebe
On 04 Jun 2012, at 23:56, Leonardo M. Ramé wrote: You are right, the machine (http://www-03.ibm.com/systems/power/hardware/560/specs.html) doesn't have a MIPS processor, but an IBM's Power6. BTW, does anyone know which Linux distribution runs on that machine?

Re: [fpc-devel] progress of freepascal for mips

2012-06-04 Thread Leonardo M . Ramé
From: Jonas Maebe jonas.ma...@elis.ugent.be To: Leonardo M. Ramé martinr...@yahoo.com; FPC developers' list fpc-devel@lists.freepascal.org Sent: Monday, June 4, 2012 7:19 PM Subject: Re: [fpc-devel] progress of freepascal for mips On 04 Jun 2012, at 23:56

Re: [fpc-devel] progress of freepascal for mips

2012-06-04 Thread Fuxin Zhang
Yes, both under AIX and under Linux (either the ppc32 or the ppc64 version of FPC). #160; That means that there is a native version of FPC or an emulated x86 version? Judging from the source, it should be a native version. Leonardo M. Ram� http://leonardorame.blogspot.com

Re: [fpc-devel] progress of freepascal for mips

2012-06-04 Thread microcode
On Mon, 4 Jun 2012 14:56:06 -0700 (PDT) Leonardo M. Ramé martinr...@yahoo.com wrote: You are right, the machine (http://www-03.ibm.com/systems/power/hardware/560/specs.html) doesn't have a MIPS processor, but an IBM's Power6. BTW, does anyone know which Linux distribution runs on that

Re: [fpc-devel] progress of freepascal for mips

2012-06-03 Thread microcode
From mar...@stack.nl Sun Jun 3 08:34:51 2012 In our previous episode, microc...@zoho.com said: AFAIK, as far as Windows, nothing but Windows CE (not XP, 7, Vista etc) runs on MIPS Afaik NT up to and including 4.0 ran on MIPS (r3000/4000). After 4.0 architectures were severely cut.

Re: [fpc-devel] progress of freepascal for mips

2012-06-02 Thread Marco van de Voort
In our previous episode, Fuxin Zhang said: 4, rtl/linux/{ostypes.inc, linux.pp, oldlinux.pp}, macro definitions for mips: MAP_xxx Oldlinux is deprecated, and not even compiled by default anymore. Please consider it frozen, and please don't add anything to it. (it never has been truly

Re: [fpc-devel] progress of freepascal for mips

2012-06-02 Thread Leonardo M . Ramé
From: Fuxin Zhang zhan...@lemote.com To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Friday, June 1, 2012 9:16 PM Subject: [fpc-devel] progress of freepascal for mips hi everybody,   With the attached patch (against revision 21440), most

Re: [fpc-devel] progress of freepascal for mips

2012-06-02 Thread microcode
On Sat, 2 Jun 2012 07:04:24 -0700 (PDT) Leonardo M. Ramé martinr...@yahoo.com wrote:   Hi, while this interesting discussion about fpc for Linux/MIPS is evolving, we've received an IBM Mips server from a customer (I don't know the model yet) to try to install an hypervisor.  Sorry if this

Re: [fpc-devel] progress of freepascal for mips

2012-06-02 Thread Marco van de Voort
In our previous episode, microc...@zoho.com said: AFAIK, as far as Windows, nothing but Windows CE (not XP, 7, Vista etc) runs on MIPS Afaik NT up to and including 4.0 ran on MIPS (r3000/4000). After 4.0 architectures were severely cut. NT3.51 also ran SPARC.

Re: [fpc-devel] progress of freepascal for mips

2012-06-02 Thread Mark Morgan Lloyd
microc...@zoho.com wrote: I am near certain IBM doesn't make any MIPS hardware at all and never has in their history. In the past they've made all sorts of odd things but at the moment all they make is Intel and POWER servers, as far as servers go. MIPS in IBM-speak is millions of instructions