Exemplo n.º 1
0
    public static int test_10_arm64_hfa_on_stack_llvm()
    {
        var arr = new LargeStruct2 [10, 10];

        for (int i = 0; i < 10; ++i)
        {
            for (int j = 0; j < 10; ++j)
            {
                arr [i, j].x = new FpStruct();
            }
        }

        var s1 = new FpStruct()
        {
            a = 1, b = 1, c = 10
        };

        return(pass_hfa_on_stack(s1, s1, s1));
    }
Exemplo n.º 2
0
 static int pass_hfa_on_stack(FpStruct s1, FpStruct s2, FpStruct s3)
 {
     return((int)s3.c);
 }