|
9 | 9 | public static class Program |
10 | 10 | { |
11 | 11 | #region ExtendedUint_RiscVTests |
12 | | - [DllImport("PrimitiveABI")] |
| 12 | + [DllImport("PrimitiveABINative")] |
13 | 13 | public static extern long Echo_ExtendedUint_RiscV(int a0, uint a1); |
14 | 14 |
|
15 | 15 | [MethodImpl(MethodImplOptions.NoInlining)] |
@@ -41,7 +41,7 @@ public static void Test_ExtendedUint_ByReflection_RiscV() |
41 | 41 | Assert.Equal(ret, native); |
42 | 42 | } |
43 | 43 |
|
44 | | - [DllImport("PrimitiveABI")] |
| 44 | + [DllImport("PrimitiveABINative")] |
45 | 45 | public static extern long Echo_ExtendedUint_OnStack_RiscV( |
46 | 46 | int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, uint stack0); |
47 | 47 |
|
@@ -77,7 +77,7 @@ public static void Test_ExtendedUint_OnStack_ByReflection_RiscV() |
77 | 77 | #endregion |
78 | 78 |
|
79 | 79 | #region Float_RiscVTests |
80 | | - [DllImport("PrimitiveABI")] |
| 80 | + [DllImport("PrimitiveABINative")] |
81 | 81 | public static extern double Echo_Float_RiscV(float fa0, float fa1); |
82 | 82 |
|
83 | 83 | [MethodImpl(MethodImplOptions.NoInlining)] |
@@ -109,7 +109,7 @@ public static void Test_Float_ByReflection_RiscV() |
109 | 109 | Assert.Equal(ret, native); |
110 | 110 | } |
111 | 111 |
|
112 | | - [DllImport("PrimitiveABI")] |
| 112 | + [DllImport("PrimitiveABINative")] |
113 | 113 | public static extern double Echo_Float_InIntegerReg_RiscV( |
114 | 114 | float fa0, float fa1, float fa2, float fa3, float fa4, float fa5, float fa6, float fa7, float a0); |
115 | 115 |
|
@@ -143,7 +143,7 @@ public static void Test_Float_InIntegerReg_ByReflection_RiscV() |
143 | 143 | Assert.Equal(ret, native); |
144 | 144 | } |
145 | 145 |
|
146 | | - [DllImport("PrimitiveABI")] |
| 146 | + [DllImport("PrimitiveABINative")] |
147 | 147 | public static extern double Echo_Float_OnStack_RiscV( |
148 | 148 | float fa0, float fa1, float fa2, float fa3, float fa4, float fa5, float fa6, float fa7, |
149 | 149 | int a0, int a1, int a2, int a3, int a4, int a5, int a6, int a7, float stack0); |
|
0 commit comments