| ... | ... | @@ -124,22 +124,34 @@ pub fn innerThreads(qzz: [*]u8) void { |
| 124 | 124 | doClientRequestStmt(.InnerThreads, qzz, 0, 0, 0, 0); |
| 125 | 125 | } |
| 126 | 126 | |
| 127 | | pub fn nonSIMDCall0(func: fn (usize) usize) usize { |
| 127 | pub fn nonSimdCall0(func: fn (usize) usize) usize { |
| 128 | 128 | return doClientRequestExpr(0, .ClientCall0, @intFromPtr(func), 0, 0, 0, 0); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | | pub fn nonSIMDCall1(func: fn (usize, usize) usize, a1: usize) usize { |
| 131 | pub fn nonSimdCall1(func: fn (usize, usize) usize, a1: usize) usize { |
| 132 | 132 | return doClientRequestExpr(0, .ClientCall1, @intFromPtr(func), a1, 0, 0, 0); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | | pub fn nonSIMDCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize { |
| 135 | pub fn nonSimdCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize { |
| 136 | 136 | return doClientRequestExpr(0, .ClientCall2, @intFromPtr(func), a1, a2, 0, 0); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | | pub fn nonSIMDCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize { |
| 139 | pub fn nonSimdCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize { |
| 140 | 140 | return doClientRequestExpr(0, .ClientCall3, @intFromPtr(func), a1, a2, a3, 0); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | /// Deprecated: use `nonSimdCall0` |
| 144 | pub const nonSIMDCall0 = nonSimdCall0; |
| 145 | |
| 146 | /// Deprecated: use `nonSimdCall1` |
| 147 | pub const nonSIMDCall1 = nonSimdCall1; |
| 148 | |
| 149 | /// Deprecated: use `nonSimdCall2` |
| 150 | pub const nonSIMDCall2 = nonSimdCall2; |
| 151 | |
| 152 | /// Deprecated: use `nonSimdCall3` |
| 153 | pub const nonSIMDCall3 = nonSimdCall3; |
| 154 | |
| 143 | 155 | /// Counts the number of errors that have been recorded by a tool. Nb: |
| 144 | 156 | /// the tool must record the errors with VG_(maybe_record_error)() or |
| 145 | 157 | /// VG_(unique_error)() for them to be counted. |