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
architecture independent anyway).

It is only still in SVN to help people migrate old 1.0.x sources which are
all x86.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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

2012-06-02 Thread Leonardo M . Ramé
>
> From: Fuxin Zhang 
>To: FPC developers' list  
>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 of the tests can
>now pass, for example, the test directory has only the following
>failinglist:
>
>foxsen@ubuntu-zfx:~/software/fpc/tests/output/mipsel-linux$ cat
>faillist.testlog
>test/cg/taddcurr //the Currency support is broken
>test/cg/tcalext  //no ctest.o
>test/cg/tcalext3
>test/cg/tcalext4
>test/cg/tcalext5
>test/cg/tcalext6
>test/cg/tcnvint4
>test/cg/tcnvint6
>test/cg/tcppcl1
>test/cg/tcppcl2
>test/cg/tdivz2
>test/cg/tnot
>test/cg/tprintf
>Note: This test requires a C library
>test/cg/tprintf2
>Note: This test requires a C library
>test/cg/treadwrt
>test/cg/tumin
>test/talign2
>test/tbrtlevt
>test/tclass8
>
>the related changes include:
>commit 14d7ae388fd5b81300a69d277089c991c13fa0be
>Author: Zhang Fuxin 
>Date:   Wed Jun 1 19:12:43 2011 +0800
>
>    don't define cpuflags for mips
>    is_calljmp should include float branches: BC1T/BC1F
>    no likely branch support: delete bc1tl/bc1fl for now
>    new implementation for getting next fpu registers for LDC1/SDC1
>
>commit 5d51e051a8979563af6b7d096381192e3d1b9b56
>Author: Zhang Fuxin 
>Date:   Fri Jun 1 11:34:51 2012 +0800
>
>    Commit all accumulated fixes:
>     1, add -Xs- -g to Makefile to retain symbols and debug info (removed)
>     2, systems/i_linux.pas: first_parm_offset set to 0
>     3, rtl/inc/systemh.inc: FPC_HAS_INTERNAL_SAR_DWORD for mips
>     4, rtl/linux/{ostypes.inc, linux.pp, oldlinux.pp}, macro definitions
>for mips: MAP_xxx
>     5, rtl/linux/mips/syscall.inc: don't use second stack
>     6, mips/*:
>          remove the use of NR_TCR*, allocate temporary registers instead
>          use fake instructions A_BA/A_BC to handle all kinds of branches,
>remove other condition branch instructions, remove all likely
>branch
>          add support for boolean64
>          fix ldc1/sdc1 next register calculation
>          use r25 for interface call to better suite abi
>          fix inverse_cond
>          add bc1t/bc1f to is_calljmp
>
>The next major one should be parameter passing, and then the PIC support.
>
>Thank you for all your kind help.
>
>Regards
>
 
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. 

We need to run at least Windows and Linux servers on it. Do you know if 
Xen/VMWare or similar hypervisors run on this architecture?.

If I can install an hypervisor, I could create one virtual machine to let the 
FPC team test the MIPS version on this machine, it can be online 24/7.

Leonardo M. Ramé
http://leonardorame.blogspot.com

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


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é  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 has already been answered but I have tons of mail and haven't
read them all yet.

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 per second" which is how
they describe mainframe performance since they don't publish clock speeds.

> We need to run at least Windows and Linux servers on it. Do you know if
> Xen/VMWare or similar hypervisors run on this architecture?.

AFAIK, as far as Windows, nothing but Windows CE (not XP, 7, Vista etc) runs
on MIPS and I don't think Windows CE will run on server hardware. And all of
the virtualization options available are Intel-only except for Oracle's
SPARC VM, so no, you don't have any virtualization options except for
perhaps QEMU, but so does everyone who has an Intel box, so there isn't
anything to offer via virtualization.

> If I can install an hypervisor, I could create one virtual machine to let
> the FPC team test the MIPS version on this machine, it can be online 24/7.

Virtualization is thin to none on anything but Intel hardware. But there is
QEMU and it provides support for various architectures including MIPS. If
you install Linux on your MIPS server (if it really is a MIPS server, which
I don't think it is, or if it is, it isn't IBM) you can use QEMU like Fuxin
Zhang wrote he was using, but then so can everyone else who has an Intel box
(everybody) so I don't think it's going to be very helpful.

And the guy working on fpc on MIPS, Fuxin, is working for a MIPS
manufacturer so I would guess he has all the hardware he needs ;-)

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


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.


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


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 per second" which is how
they describe mainframe performance since they don't publish clock speeds.


That's my understanding as well.


If I can install an hypervisor, I could create one virtual machine to let
the FPC team test the MIPS version on this machine, it can be online 24/7.


Virtualization is thin to none on anything but Intel hardware. But there is
QEMU and it provides support for various architectures including MIPS.


Agreed. However larger SPARC systems can, I believe, be divided into 
multiple domains, and larger IBM PPC systems can be partitioned into 
LPARs. I don't have practical experience of either of these 
technologies, but if Leonardo's been told "there's a system on its way 
to you and we expect you to use its virtualisation facilities" and if 
it's non-x86 then that's the sort of thing he's likely to have to 
contend with.


--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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. 
>
> NT3.51 also ran SPARC.

Given the question was about wanting to run Windows and Linux on an IBM
MIPS server and do virtualization, I didn't think it would help to discuss
Windows NT, etc. I am aware Windows was supposed to have run on more
platforms in the old days. My point was that you can't run XP, 7, or Vista
on MIPS hardware, not that I was trying to beat anyone out in a trivia
contest about what versions of various things were ever rumored to run on
MIPS ;-)

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


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

2012-06-04 Thread Leonardo M . Ramé
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?, can FPC 
be compiled to run on it?.
 
Leonardo M. Ramé
http://leonardorame.blogspot.com


>
> From: "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é  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 has already been answered but I have tons of mail and haven't
>read them all yet.
>
>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 per second" which is how
>they describe mainframe performance since they don't publish clock speeds.
>
>> We need to run at least Windows and Linux servers on it. Do you know if
>> Xen/VMWare or similar hypervisors run on this architecture?.
>
>AFAIK, as far as Windows, nothing but Windows CE (not XP, 7, Vista etc) runs
>on MIPS and I don't think Windows CE will run on server hardware. And all of
>the virtualization options available are Intel-only except for Oracle's
>SPARC VM, so no, you don't have any virtualization options except for
>perhaps QEMU, but so does everyone who has an Intel box, so there isn't
>anything to offer via virtualization.
>
>> If I can install an hypervisor, I could create one virtual machine to let
>> the FPC team test the MIPS version on this machine, it can be online 24/7.
>
>Virtualization is thin to none on anything but Intel hardware. But there is
>QEMU and it provides support for various architectures including MIPS. If
>you install Linux on your MIPS server (if it really is a MIPS server, which
>I don't think it is, or if it is, it isn't IBM) you can use QEMU like Fuxin
>Zhang wrote he was using, but then so can everyone else who has an Intel box
>(everybody) so I don't think it's going to be very helpful.
>
>And the guy working on fpc on MIPS, Fuxin, is working for a MIPS
>manufacturer so I would guess he has all the hardware he needs ;-)
>
>___
>fpc-devel maillist  -  fpc-devel@lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
>___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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?

  http://www.google.be/search?hl=en&q=IBM+Power+560+Express+linux
->
  http://www.acclinet.com/ibm-servers/ibm-power-560-server.asp

> can FPC be compiled to run on it?.

Yes, both under AIX and under Linux (either the ppc32 or the ppc64 version of 
FPC).


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


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

2012-06-04 Thread Leonardo M . Ramé
>
> From: Jonas Maebe 
>To: Leonardo M. Ramé ; FPC developers' list 
> 
>Sent: Monday, June 4, 2012 7:19 PM
>Subject: Re: [fpc-devel] progress of freepascal for mips
> 
>
>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?
>
>  http://www.google.be/search?hl=en&q=IBM+Power+560+Express+linux
>->
>  http://www.acclinet.com/ibm-servers/ibm-power-560-server.asp
>
>> can FPC be compiled to run on it?.
>
>Yes, both under AIX and under Linux (either the ppc32 or the ppc64 version of 
>FPC).
>
 
That means that there is a native version of FPC or an emulated x86 version?


Leonardo M. Ramé
http://leonardorame.blogspot.com

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


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).
>>
>  
> 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
>
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


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


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é  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?, can
> FPC be compiled to run on it?. 
> Leonardo M. Ramé
> http://leonardorame.blogspot.com

Congrats, that's a nice box. POWER6 is one generation behind but from what
I read it can still run the latest version of AIX.

The best OS is the one IBM made for it, AIX which is a POSIX UNIX with
IBM extensions (and great doc!). You should be able to get a copy without
too much difficulty if one isn't already installed.

On the same page you linked above, there is a list of some Linux that are
certified to run on your box. Running Linux on it would be a horrible
waste of a good server. You can probably virtualize Linux and BSD instances
under AIX though, as you had mentioned in your first post.

If you find you're not happy with the server, just tell me how much it
would cost to ship and I'll take it off your hands ;-)

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


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 Maebe
To: Leonardo M. Ramé; FPC developers' 
list
Sent: Monday, June 4, 2012 7:19 PM
Subject: Re: [fpc-devel] progress of freepascal for mips


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?


   http://www.google.be/search?hl=en&q=IBM+Power+560+Express+linux
->
   http://www.acclinet.com/ibm-servers/ibm-power-560-server.asp


can FPC be compiled to run on it?.


Yes, both under AIX and under Linux (either the ppc32 or the ppc64 version of 
FPC).



That means that there is a native version of FPC or an emulated x86 version?


Natively for both AIX and Linux.

Regards,
Sven
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 Solaris. My main pet peeve is that it does not protect  
against reads from nil pointers for optimization reasons. I've  
collected some more at  
http://wiki.freepascal.org/FPC_AIX_Port#AIX_quirks


Another one, which isn't mentioned on that page because it doesn't  
affect end users of the compiler/RTL, is that AIX uses different code  
page names in libiconv than all other Unix-based platforms we support.  
That's in part because the iconv standard isn't worth the name  
"standard" (it defines almost nothing), but it would have been nice if  
the IBM people could have added some extra code page names so as to be  
more compatible with other libiconv implementations.



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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é  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?, can
FPC be compiled to run on it?. 
Leonardo M. Ramé

http://leonardorame.blogspot.com


Congrats, that's a nice box. POWER6 is one generation behind but from what
I read it can still run the latest version of AIX.

The best OS is the one IBM made for it, AIX which is a POSIX UNIX with
IBM extensions (and great doc!). You should be able to get a copy without
too much difficulty if one isn't already installed.

On the same page you linked above, there is a list of some Linux that are
certified to run on your box. Running Linux on it would be a horrible
waste of a good server. You can probably virtualize Linux and BSD instances
under AIX though, as you had mentioned in your first post.


With the caveat that, as I understand it, this is a hardware-assisted 
partitioning operation and is likely to have a very different "feel" 
from things like VMWare. As an example (and possibly you can confirm 
this), my understanding is that there are facilities in the system 
firmware, i.e. accessed from something analogous to a "BIOS setup 
screen", that dictate how SCSI devices will be distributed between LPARs.


In any event, if Leonardo successfully runs Linux or BSD in a partition 
I hope he writes it up somewhere. My PPC system is only an old Mac 
running Debian, but I think having the info would be useful.


--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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

2012-06-05 Thread Leonardo M . Ramé
>
> From: Mark Morgan Lloyd 
>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)
>> 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?, can
>>> FPC be compiled to run on it?. Leonardo M. Ramé
>>> http://leonardorame.blogspot.com
>> 
>> Congrats, that's a nice box. POWER6 is one generation behind but from what
>> I read it can still run the latest version of AIX.
>> 
>> The best OS is the one IBM made for it, AIX which is a POSIX UNIX with
>> IBM extensions (and great doc!). You should be able to get a copy without
>> too much difficulty if one isn't already installed.
>> 
>> On the same page you linked above, there is a list of some Linux that are
>> certified to run on your box. Running Linux on it would be a horrible
>> waste of a good server. You can probably virtualize Linux and BSD instances
>> under AIX though, as you had mentioned in your first post.
>
>With the caveat that, as I understand it, this is a hardware-assisted 
>partitioning operation and is likely to have a very different "feel" from 
>things like VMWare. As an example (and possibly you can confirm this), my 
>understanding is that there are facilities in the system firmware, i.e. 
>accessed from something analogous to a "BIOS setup screen", that dictate how 
>SCSI devices will be distributed between LPARs.
>
>In any event, if Leonardo successfully runs Linux or BSD in a partition I hope 
>he writes it up somewhere. My PPC system is only an old Mac running Debian, 
>but I think having the info would be useful.
>
>-- Mark Morgan Lloyd
>markMLl .AT. telemetry.co .DOT. uk
>
>[Opinions above are the author's, not those of his employers or colleagues]

I have no problem at all, in fact, I would like to create a VM for the FPC team 
for testing. Hopefully I'll start trying to create a Linux or Bsd machine on it 
this week.


Leonardo M. Ramé
http://leonardorame.blogspot.com
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 patches. That makes it much easier to review  
them.



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 patches. That makes it much easier to review
> them.
>
OK, I will take some time to clean up things and split them into
independent trunks. Florian has open a branch for me, I will try to do it
in the branch with clear log.
These days I am fight with the parameter passing. It is almost mips O32
compatible, only five of the test/cg/ still fail.
foxsen@ubuntu-zfx:/software/data/fpc/tests$ cat
output/mipsel-linux/faillist.testlog
test/cg/tdivz2
test/cg/tprintf
test/cg/tprintf2
test/cg/treadwrt
test/cg/tumin
...

>
> Jonas
>


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


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
> 
> >
> > 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 patches. That makes it much easier to review
> > them.
> >
> OK, I will take some time to clean up things and split them into
> independent trunks. Florian has open a branch for me, I will try to do it
> in the branch with clear log.
> These days I am fight with the parameter passing. It is almost mips O32
> compatible, only five of the test/cg/ still fail.
> foxsen@ubuntu-zfx:/software/data/fpc/tests$ cat
> output/mipsel-linux/faillist.testlog
> test/cg/tdivz2
> test/cg/tprintf
> test/cg/tprintf2
> test/cg/treadwrt
> test/cg/tumin
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 it"s going forward).
Florian asked be to commit it.

  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 get fpmmap to work).

  The startup code of the function pushes these registers
back to the 6 4 byte slots from 0 to 24.
  It sets $fp register ($r29 or $s8)
to the previous value of the $sp stack register.
  This way, function parameters can be accessed by
offsets to $fp register, while locals or parameters
of function that will be called inside the function
are accessed via $sp register.

  The biggest problem now is that GDB is not
pleased this, because it find that there is a frame register ($r29)
so that it computes falsely the address of all locals and arguments...

  I think that we should add a list of all mips known ABI and
create a record that lists their specificities,
  This way, we should be able to convert some constants
into ABI specific values.

Pierre




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


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 get fpmmap to work).

  The startup code of the function pushes these registers
back to the 6 4 byte slots from 0 to 24.
  It sets $fp register ($r29 or $s8)
to the previous value of the $sp stack register.
  This way, function parameters can be accessed by
offsets to $fp register, while locals or parameters
of function that will be called inside the function
are accessed via $sp register.

  The biggest problem now is that GDB is not
pleased this, because it find that there is a frame register ($r29)
so that it computes falsely the address of all locals and arguments...

  I think that we should add a list of all mips known ABI and
create a record that lists their specificities,
  This way, we should be able to convert some constants
into ABI specific values.


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 appreciated.


http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources

--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 it"s 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 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 get fpmmap to work).
Yes, I did the same work to make some tests work.
>
>   The startup code of the function pushes these registers
> back to the 6 4 byte slots from 0 to 24.
>   It sets $fp register ($r29 or $s8)
> to the previous value of the $sp stack register.
>   This way, function parameters can be accessed by
> offsets to $fp register, while locals or parameters
> of function that will be called inside the function
> are accessed via $sp register.
Understand.
>
>   The biggest problem now is that GDB is not
> pleased this, because it find that there is a frame register ($r29)
> so that it computes falsely the address of all locals and arguments...
We have to study how GDB analysis mips stack, up to now I use gdb only
with instruction level debugging: break *0x4001da, si, info registers
etc.:)
But I think it won't be hard. I have looked at lots of c compiler's
code,we are not very far away from it.
>
>   I think that we should add a list of all mips known ABI and
> create a record that lists their specificities,
>   This way, we should be able to convert some constants
> into ABI specific values.
In the real world the MIPS O32 abi is still a de facto ABI. N32/N64
support is still not very robust for linux/mips. So I think we should
first add the support of O32. My new code is almost O32 compatible and I
will upload it as soon as possible.

What do you mean by stating 'create a record that lists their
specificities'? Is it that we create a readme file for mips ABI and upload
it to the repository? There is an old ABI document for O32 called "System
V APPLICATION BINARY INTERFACE MIPS RISC Processor supplement", you can
get it from http://www.lemote.com/upfiles/mipsabi32.pdf.

Regards


>
> Pierre
>
>
>
>
>


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


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 appreciated.
>
> http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources
I have added a link to mips O32 ABI file to the MIPS section.
>
> --
> 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  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


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


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"  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
> > together for most targets, if anybody could contribute ABI stuff it
> > would be much appreciated.
> >
> > http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources

> I have added a link to mips O32 ABI file to the MIPS section.

Mark, guys, were you wanting the information itself on the wiki or are
links good enough? If the latter and they aren't there already, I'll add
the SPARC ABI links next week.

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
MIPS ABI I'd like to get a copy of it. I found some old SGI doc but I don't
know how universal it is.

Thanks.



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


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"  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
together for most targets, if anybody could contribute ABI stuff it
would be much appreciated.

http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources



I have added a link to mips O32 ABI file to the MIPS section.


Mark, guys, were you wanting the information itself on the wiki or are
links good enough? If the latter and they aren't there already, I'll add
the SPARC ABI links next week.


My intention was to put links in, although obviously a note would be in 
order where FPC and/or GCC departs from conventions. One of the reasons 
that I started that page was that some manufacturers require you to 
register with them before they will give you full processor info- I 
think that MIPS was one of those. At that point a link to a copy of the 
document which happens to have been published on e.g. a university 
website or at archive.org has some value to people who don't want to 
raise their head above the parapet.


--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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

2012-06-08 Thread microcode
On Fri, 08 Jun 2012 13:32:18 +
Mark Morgan Lloyd  wrote:

> microc...@zoho.com wrote:
> > On Fri, 8 Jun 2012 17:15:51 +0800 (CST)
> > "Fuxin Zhang"  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
> >>> together for most targets, if anybody could contribute ABI stuff it
> >>> would be much appreciated.
> >>>
> >>> http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources
> > 
> >> I have added a link to mips O32 ABI file to the MIPS section.
> > 
> > Mark, guys, were you wanting the information itself on the wiki or are
> > links good enough? If the latter and they aren't there already, I'll add
> > the SPARC ABI links next week.
> 
> My intention was to put links in, although obviously a note would be in 
> order where FPC and/or GCC departs from conventions.

I don't know enough about either FPC or GCC to speak to this issue.

> One of the reasons that I started that page was that some manufacturers
> require you to register with them before they will give you full
> processor info- I think that MIPS was one of those.

Yes, definitely. ARM is also.

> At that point a link to a copy of the document which happens to have been
> published on e.g. a university website or at archive.org has some value
> to people who don't want to raise their head above the parapet.

Fortunately the SPARC doc is all open.

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


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.


BTW, I'd like to remind that there is some errata for 24k cpu. I've 
faild to find any relevant official document on mips site but see e.g. 
"Lost Data on Stores During Refill" in this patch:


http://cygwin.com/ml/binutils/2011-04/txt00020.txt

As far as I understand it, the problem was fixed on assembler level so 
it'd seem it should not bother FPC. Anyway, one of my mips boxes is 
exactly 24k (wndr3800), another one is 74k (asus n16). Supposedly 74k 
does not suffer this problem.


Nikolai



Thanks.




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


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"  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
>>> together for most targets, if anybody could contribute ABI stuff it
>>> would be much appreciated.
>>>
>>> http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources
> 
>> I have added a link to mips O32 ABI file to the MIPS section.
> 
> Mark, guys, were you wanting the information itself on the wiki or are
> links good enough? 

Please keep copyright in mind when adding new stuff!

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


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"  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
together for most targets, if anybody could contribute ABI stuff it
would be much appreciated.

http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources

I have added a link to mips O32 ABI file to the MIPS section.

Mark, guys, were you wanting the information itself on the wiki or are
links good enough? 


Please keep copyright in mind when adding new stuff!


Absolutely. However I think that a paraphrased description of e.g. the 
calling conventions used by a particular CPU isn't something that could 
be copyrighted: patented, perhaps, or viewed as a leaked trade secret, 
but not copyrighted.


But I think that in most cases good links will be an adequate resource. 
Possibly with notes where GCC and/or FPC is known to deviate.


--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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"  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
> together for most targets, if anybody could contribute ABI stuff it
> would be much appreciated.
>
> http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources
 I have added a link to mips O32 ABI file to the MIPS section.
>>> Mark, guys, were you wanting the information itself on the wiki or are
>>> links good enough? 
>>
>> Please keep copyright in mind when adding new stuff!
> 
> Absolutely. However I think that a paraphrased description of e.g. the
> calling conventions used by a particular CPU isn't something that could
> be copyrighted: patented, perhaps, or viewed as a leaked trade secret,
> but not copyrighted.

Yes, true, however, I was more aiming at uploading files.

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


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"  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 far
> > as I know). If MIPS or some other standards body has documented the 64
> > bit MIPS ABI I'd like to get a copy of it. I found some old SGI doc but
> > I don't
> > know how universal it is.
> 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.

Thanks, I already have several copies of n32 doc. I'm specifically looking
for n64 doc. UNIX is chaos, it seems like there is no single place to get
the ABIs for all platforms.

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


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

2012-06-09 Thread microcode
On Sat, 09 Jun 2012 15:40:38 +0200
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"  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
> >>> together for most targets, if anybody could contribute ABI stuff it
> >>> would be much appreciated.
> >>>
> >>> http://wiki.lazarus.freepascal.org/Assembler_and_ABI_Resources
> > 
> >> I have added a link to mips O32 ABI file to the MIPS section.
> > 
> > Mark, guys, were you wanting the information itself on the wiki or are
> > links good enough? 
> 
> Please keep copyright in mind when adding new stuff!

Links definitely help if you're worried about copyrights.


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


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"  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 far
as I know). If MIPS or some other standards body has documented the 64
bit MIPS ABI I'd like to get a copy of it. I found some old SGI doc but
I don't
know how universal it is.

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.


Thanks, I already have several copies of n32 doc. I'm specifically looking
for n64 doc. UNIX is chaos, it seems like there is no single place to get
the ABIs for all platforms.


So guess why I started that wiki page? :-)

--
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  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


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 think that a paraphrased description of e.g. the
>> calling conventions used by a particular CPU isn't something that could
>> be copyrighted: patented, perhaps, or viewed as a leaked trade secret,
>> but not copyrighted.
>
> Yes, true, however, I was more aiming at uploading files.
>
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


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


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

2012-06-09 Thread microcode
On Sat, 09 Jun 2012 20:52:01 +
Mark Morgan Lloyd  wrote:

> microc...@zoho.com wrote:
> > On Sat, 9 Jun 2012 09:27:30 +0800 (CST)
> > "Fuxin Zhang"  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 far as I know). If MIPS or some other standards body has
> >>> documented the 64 bit MIPS ABI I'd like to get a copy of it. I found
> >>> some old SGI doc but I don't
> >>> know how universal it is.
> >> 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.
> > 
> > Thanks, I already have several copies of n32 doc. I'm specifically
> > looking for n64 doc. UNIX is chaos, it seems like there is no single
> > place to get the ABIs for all platforms.
> 
> So guess why I started that wiki page? :-)

It's a good idea but I'm not sure we can solve the greater problem which is
there's no authority on which specs are "official", "valid" etc. When
you're lucky enough to find some doc on the net, you are never sure it's
the latest copy since there is no top-level official repository. 

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


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"  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 its eco-system,
> if I have chance I will try to pasuade mips.

The n32 ABI and a 64 bit conversion guide are available in SGI pubs from
SGI's site without signing up. I don't think you have anything to be
concerned about. MIPS lets anyone who signs up download their doc. It seems
there aren't any trade secrets involved and it seems to me linking to their
doc would be the safe thing to do. I don't think you did anything wrong
though.


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


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
> MIPS ABI I'd like to get a copy of it. I found some old SGI doc but I
> don't
> know how universal it is.
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.
>
> Thanks.
>
>
>
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


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


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
>> MIPS ABI I'd like to get a copy of it. I found some old SGI doc but I
>> don't
>> know how universal it is.
> 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.
The same document also describe about N64, since it is very close to N32.
>>
>> Thanks.
>>
>>
>>
>> ___
>> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>
>
>
> ___
> fpc-devel maillist  -  fpc-devel@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>


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