@@ -30,7 +30,7 @@ union System_Collections_DictionaryEntry
30
30
union System_String
31
31
{
32
32
};
33
-
33
+ int execvp ( void * file , void * argv );
34
34
#define System_Runtime_InteropServices_Marshal_AllocHGlobali4is (size ) malloc(size)
35
35
#define System_Runtime_InteropServices_Marshal_AllocHGlobalisis (size ) malloc(size)
36
36
#define System_Runtime_InteropServices_Marshal_ReAllocHGlobalisisis (ptr , new_size ) realloc(ptr, new_size)
@@ -172,7 +172,6 @@ void *System_Runtime_InteropServices_NativeMemory_AlignedReallocpvususpv(void *p
172
172
#define System_Numerics_BitOperations_PopCountu4i4 (val ) __builtin_popcountl((uint32_t)val)
173
173
#define System_Numerics_BitOperations_PopCountu8i4 (val ) __builtin_popcountl((uint64_t)val)
174
174
175
-
176
175
union System_Collections_IDictionary System_Environment_GetEnvironmentVariables14System_Runtime30System_Collections_IDictionary ()
177
176
{
178
177
union System_Collections_IDictionary res ;
@@ -297,6 +296,7 @@ float System_MathF_Truncatef4f4(float val)
297
296
abort ();
298
297
return 0 ;
299
298
}
299
+ double fabsf64 (double val );
300
300
#define System_Single_Cosf4f4 (x ) ((float)cos(x))
301
301
#define System_Single_Cosf8f8 cos
302
302
#define System_Single_Sinf4f4 (x ) ((float)sin(x))
@@ -308,6 +308,67 @@ float System_MathF_Truncatef4f4(float val)
308
308
#define System_Single_Powf4f4f4 (a , b ) (float)pow(a, b)
309
309
#define System_Single_Powf8f8f8 pow
310
310
#define System_Double_Powf8f8f8 pow
311
+ #define System_Int128_get_Zeroi16 (v ) ((__int128_t)0)
312
+ float System_Single_Exp2f4f4 (float input )
313
+ {
314
+ fprintf (stderr , "Can't System_Single_Exp2f4f4 yet.\n" );
315
+ abort ();
316
+ return 0.0f ;
317
+ }
318
+ float System_Single_Logf4f4 (float input )
319
+ {
320
+ fprintf (stderr , "Can't System_Single_Logf4f4 yet.\n" );
321
+ abort ();
322
+ return 0.0f ;
323
+ }
324
+ float System_Single_Log2f4f4 (float input )
325
+ {
326
+ fprintf (stderr , "Can't System_Single_Log2f4f4 yet.\n" );
327
+ abort ();
328
+ return 0.0f ;
329
+ }
330
+ float System_Single_Log10f4f4 (float input )
331
+ {
332
+ fprintf (stderr , "Can't System_Single_Log10f4f4 yet.\n" );
333
+ abort ();
334
+ return 0.0f ;
335
+ }
336
+ float System_Math_Floorf8f8 (float input )
337
+ {
338
+ fprintf (stderr , "Can't System_Math_Floorf8f8 yet.\n" );
339
+ abort ();
340
+ return 0.0f ;
341
+ }
342
+ double System_Math_Sqrtf8f8 (double input )
343
+ {
344
+ fprintf (stderr , "Can't System_Math_Sqrtf8f8 yet.\n" );
345
+ abort ();
346
+ return 0.0f ;
347
+ }
348
+ double System_Double_Log10f8f8 (double input )
349
+ {
350
+ fprintf (stderr , "Can't System_Double_Log10f8f8 yet.\n" );
351
+ abort ();
352
+ return 0.0f ;
353
+ }
354
+ double System_Math_Truncatef8f8 (double input )
355
+ {
356
+ fprintf (stderr , "Can't System_Math_Truncatef8f8 yet.\n" );
357
+ abort ();
358
+ return 0.0f ;
359
+ }
360
+ uint32_t System_UInt32_RotateRightu4i4u4 (uint32_t val , int32_t ammount )
361
+ {
362
+ fprintf (stderr , "Can't System_UInt32_RotateRightu4i4u4 yet.\n" );
363
+ abort ();
364
+ return 0 ;
365
+ }
366
+ uint8_t System_Byte_RotateRightu1i4u1 (uint8_t val , int32_t ammount )
367
+ {
368
+ fprintf (stderr , "Can't System_Byte_RotateRightu1i4u1 yet.\n" );
369
+ abort ();
370
+ return 0 ;
371
+ }
311
372
uint32_t System_Threading_Interlocked_CompareExchangeru4u4u4u4 (uint32_t * addr , uint32_t value , uint32_t comparand )
312
373
{
313
374
fprintf (stderr , "Can't System_Threading_Interlocked_CompareExchangeru4u4u4u4 yet.\n" );
@@ -326,12 +387,25 @@ uintptr_t System_Threading_Interlocked_CompareExchangerusususus(uintptr_t *addr,
326
387
abort ();
327
388
return 0 ;
328
389
}
390
+ intptr_t System_Threading_Interlocked_CompareExchangerisisisis (intptr_t * addr , intptr_t value , intptr_t comparand )
391
+ {
392
+ fprintf (stderr , "Can't System_Threading_Interlocked_CompareExchangerisisisis yet.\n" );
393
+ abort ();
394
+ return 0 ;
395
+ }
396
+
329
397
uint32_t System_Threading_Interlocked_Exchangeru4u4u4 (uint32_t * addr , uint32_t val )
330
398
{
331
399
fprintf (stderr , "Can't System_Threading_Interlocked_Exchangeru4u4u4 yet.\n" );
332
400
abort ();
333
401
return 0 ;
334
402
}
403
+ uintptr_t System_Threading_Interlocked_Exchangerususus (uintptr_t * addr , uintptr_t val )
404
+ {
405
+ fprintf (stderr , "Can't System_Threading_Interlocked_Exchangerususus yet.\n" );
406
+ abort ();
407
+ return 0 ;
408
+ }
335
409
336
410
uint32_t System_Threading_Interlocked_Addru4u4u4 (uint32_t * addr , uint32_t addend )
337
411
{
@@ -371,8 +445,9 @@ uint64_t System_UInt64_RotateLeftu8i4u8(uint64_t val, int32_t ammount)
371
445
fprintf (stderr , "Can't System_UInt64_RotateLeftu8i4u8 yet.\n" );
372
446
abort ();
373
447
}
374
- unsigned __int128 System_UInt128_RotateRightu16i4u16 (unsigned __int128 val , int32_t amount ){
375
- fprintf (stderr , "Can't System_UInt128_RotateRightu16i4u16 yet.\n" );
448
+ unsigned __int128 System_UInt128_RotateRightu16i4u16 (unsigned __int128 val , int32_t amount )
449
+ {
450
+ fprintf (stderr , "Can't System_UInt128_RotateRightu16i4u16 yet.\n" );
376
451
abort ();
377
452
}
378
453
@@ -386,6 +461,17 @@ unsigned __int128 System_UInt128_LeadingZeroCountu16u16(unsigned __int128 val)
386
461
fprintf (stderr , "Can't System_UInt128_LeadingZeroCountu16u16 yet.\n" );
387
462
abort ();
388
463
}
464
+ unsigned __int128 System_UInt128_PopCountu16u16 (unsigned __int128 val )
465
+ {
466
+ fprintf (stderr , "Can't System_UInt128_PopCountu16u16 yet.\n" );
467
+ abort ();
468
+ }
469
+ unsigned __int128 System_UInt128_TrailingZeroCountu16u16 (unsigned __int128 val )
470
+ {
471
+ fprintf (stderr , "Can't System_UInt128_TrailingZeroCountu16u16 yet.\n" );
472
+ abort ();
473
+ }
474
+
389
475
uint32_t System_Math_Minu4u4u4 (uint32_t lhs , uint32_t rhs )
390
476
{
391
477
if (lhs > rhs )
@@ -443,11 +529,13 @@ __int128 System_Int128_Clampi16i16i16i16(__int128 val, __int128 min, __int128 ma
443
529
return val ;
444
530
}
445
531
}
446
- __int128 System_Int128_get_MinValuei16 (){
532
+ __int128 System_Int128_get_MinValuei16 ()
533
+ {
447
534
fprintf (stderr , "Can't System_Int128_get_MinValuei16 yet.\n" );
448
535
abort ();
449
536
}
450
- __int128 System_Int128_get_MaxValuei16 (){
537
+ __int128 System_Int128_get_MaxValuei16 ()
538
+ {
451
539
fprintf (stderr , "Can't System_Int128_get_MinValuei16 yet.\n" );
452
540
abort ();
453
541
}
0 commit comments