Fri 13 Nov 2009 02:57:53 PM UTC, comment #3:
the same gcc51 with "gcc -mabi=64":
$ cat avcall/minitests.output.mips64el-unknown-linux-gnu
Int f(Int,Int,Int):({1},{2},{3})->{6}
Int f(Int,Int,Int):({1068708659},{-4760},{4})->{1068703903}
J f(J,int,J):({47,11},2,{73,55})->{120,68}
J f(J,int,J):({1099511622808,47},11,{2,73})->{0,0}
|
Tue 10 Nov 2009 10:32:55 PM UTC, comment #2:
on gcc51 (http://gcc.gnu.org/wiki/CompileFarm)
Linux gcc51 2.6.27.1-libre-medan #1 PREEMPT Thu Feb 12 08:21:37 CST 2009 mips64 GNU/Linux
$ cat vacall/minitests.output.mips64el-unknown-linux-gnu
uchar f(uchar,ushort,uint,ulong):(97,2,3,4)->255
uchar f(uchar,ushort,uint,ulong):(0,0,3,4)->255
ushort f(char,double,char,double):('a',0.2,'�',0.4)->65506
ushort f(char,double,char,double):('',0.2,'�',0.4)->0
|
Tue 22 Jan 2008 08:10:48 PM UTC, original submission:
http://sourceforge.net/tracker/index.php?func=detail&aid=1664722&group_id=1355&atid=101355
vacall/minitests.output.mips-sgi-irix6.5 says:
int f(16*int):(1,2,3,4,5,6,7,8,9,11,12,13,14,15,16,17)->143
int
f(16*int):(1,2,3,4,5,6,7,8,0,263627196,1,268449984,0,-21336,0,0)->532055881
float
f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1.
7)->14.3
float f(16*float):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0,0,0,0,0,0,0,0)->3.6
double
f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.1,1.2,1.3,1.4,1.5,1.6,1
.7)->14.3
double
f(16*double):(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0,1.30249e-315,4.94066e-324,1
.32632e-315,0,5.43231e-312,0,0)->3.6
I'm using MIPSpro as the compiler with the 64 bit ABI.
|