Artifact 51062fdedf65c348d0fd42b864ad3dcc585c9586:


0000: 4f 6e 20 6d 69 70 73 2d 73 67 69 2d 69 72 69 78  On mips-sgi-irix
0010: 36 2e 32 20 77 69 74 68 20 22 63 63 20 2d 36 34  6.2 with "cc -64
0020: 22 2c 20 76 61 63 61 6c 6c 20 64 6f 65 73 20 6e  ", vacall does n
0030: 6f 74 20 68 61 6e 64 6c 65 20 63 6f 72 72 65 63  ot handle correc
0040: 74 6c 79 0a 22 64 6f 75 62 6c 65 22 20 73 6c 6f  tly."double" slo
0050: 74 73 20 77 69 74 68 69 6e 20 73 74 72 75 63 74  ts within struct
0060: 75 72 65 20 61 72 67 75 6d 65 6e 74 73 2e 20 76  ure arguments. v
0070: 61 63 61 6c 6c 20 65 78 70 65 63 74 73 20 74 68  acall expects th
0080: 65 73 65 0a 22 64 6f 75 62 6c 65 22 20 76 61 6c  ese."double" val
0090: 75 65 73 20 69 6e 20 74 68 65 20 69 6e 74 65 67  ues in the integ
00a0: 65 72 20 72 65 67 69 73 74 65 72 73 20 62 75 74  er registers but
00b0: 20 74 68 65 79 20 61 72 65 20 61 63 74 75 61 6c   they are actual
00c0: 6c 79 20 70 61 73 73 65 64 0a 69 6e 20 74 68 65  ly passed.in the
00d0: 20 66 6c 6f 61 74 69 6e 67 2d 70 6f 69 6e 74 20   floating-point 
00e0: 72 65 67 69 73 74 65 72 73 2e 0a 46 75 72 74 68  registers..Furth
00f0: 65 72 6d 6f 72 65 2c 20 77 68 65 6e 20 72 65 74  ermore, when ret
0100: 75 72 6e 69 6e 67 20 73 74 72 75 63 74 75 72 65  urning structure
0110: 20 76 61 6c 75 65 73 20 6f 66 20 74 79 70 65 20   values of type 
0120: 7b 20 66 6c 6f 61 74 3b 20 64 6f 75 62 6c 65 3b  { float; double;
0130: 20 7d 0a 6f 72 20 7b 20 64 6f 75 62 6c 65 3b 20   }.or { double; 
0140: 66 6c 6f 61 74 3b 20 7d 2c 20 62 6f 74 68 20 73  float; }, both s
0150: 6c 6f 74 73 20 61 72 65 20 72 65 74 75 72 6e 65  lots are returne
0160: 64 20 69 6e 20 74 68 65 20 24 66 30 20 61 6e 64  d in the $f0 and
0170: 20 24 66 32 20 72 65 67 69 73 74 65 72 73 2e 0a   $f2 registers..
0180: 76 61 63 61 6c 6c 20 72 65 74 75 72 6e 73 20 74  vacall returns t
0190: 68 65 6d 20 62 6f 74 68 20 61 73 20 22 64 6f 75  hem both as "dou
01a0: 62 6c 65 22 20 76 61 6c 75 65 73 20 69 6e 73 74  ble" values inst
01b0: 65 61 64 20 6f 66 20 72 65 74 75 72 6e 69 6e 67  ead of returning
01c0: 20 6f 6e 65 20 61 73 20 61 0a 22 66 6c 6f 61 74   one as a."float
01d0: 22 2e 0a                                         "..