mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 12:49:09 +02:00
* sysv abi also uses F0-F13 as volatile registers
This commit is contained in:
parent
02fe11f02f
commit
18be2ff0fd
@ -1027,7 +1027,7 @@ const
|
|||||||
abi_powerpc_aix:
|
abi_powerpc_aix:
|
||||||
firstfpureg := RS_F14;
|
firstfpureg := RS_F14;
|
||||||
abi_powerpc_sysv:
|
abi_powerpc_sysv:
|
||||||
firstfpureg := RS_F9;
|
firstfpureg := RS_F14;
|
||||||
else
|
else
|
||||||
internalerror(2003122903);
|
internalerror(2003122903);
|
||||||
end;
|
end;
|
||||||
@ -1235,7 +1235,7 @@ const
|
|||||||
abi_powerpc_aix:
|
abi_powerpc_aix:
|
||||||
firstfpureg := RS_F14;
|
firstfpureg := RS_F14;
|
||||||
abi_powerpc_sysv:
|
abi_powerpc_sysv:
|
||||||
firstfpureg := RS_F9;
|
firstfpureg := RS_F14;
|
||||||
else
|
else
|
||||||
internalerror(2003122903);
|
internalerror(2003122903);
|
||||||
end;
|
end;
|
||||||
@ -2299,7 +2299,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.189 2004-12-24 11:51:55 jonas
|
Revision 1.190 2005-01-05 19:01:53 karoly
|
||||||
|
* sysv abi also uses F0-F13 as volatile registers
|
||||||
|
|
||||||
|
Revision 1.189 2004/12/24 11:51:55 jonas
|
||||||
* fixed a_jmp_name() for darwin
|
* fixed a_jmp_name() for darwin
|
||||||
|
|
||||||
Revision 1.188 2004/12/11 12:42:28 jonas
|
Revision 1.188 2004/12/11 12:42:28 jonas
|
||||||
|
@ -73,8 +73,7 @@ unit cpupara;
|
|||||||
abi_powerpc_aix:
|
abi_powerpc_aix:
|
||||||
result := [RS_F0..RS_F13];
|
result := [RS_F0..RS_F13];
|
||||||
abi_powerpc_sysv:
|
abi_powerpc_sysv:
|
||||||
{$warning: the 64bit sysv abi also uses RS_F0..RS_F13 like the aix abi above }
|
result := [RS_F0..RS_F13];
|
||||||
result := [RS_F0..RS_F8];
|
|
||||||
else
|
else
|
||||||
internalerror(2003091401);
|
internalerror(2003091401);
|
||||||
end;
|
end;
|
||||||
@ -630,7 +629,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.77 2004-12-24 15:00:11 jonas
|
Revision 1.78 2005-01-05 19:01:53 karoly
|
||||||
|
* sysv abi also uses F0-F13 as volatile registers
|
||||||
|
|
||||||
|
Revision 1.77 2004/12/24 15:00:11 jonas
|
||||||
* fixed call-by-value passing of records with size 1, 2 or 4 for AIX abi
|
* fixed call-by-value passing of records with size 1, 2 or 4 for AIX abi
|
||||||
(using a hack, normally all records should by passed by value under the
|
(using a hack, normally all records should by passed by value under the
|
||||||
aix abi, but that's currently impossible)
|
aix abi, but that's currently impossible)
|
||||||
|
Loading…
Reference in New Issue
Block a user