authorgravatar for github@mjb.ioMichael Bradshaw <github@mjb.io> 2024-06-28 08:27:00-07:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2024-07-03 19:00:17+01:00
logfe66a12a23eda90b89b06dc28957f3baac01ee89
tree98abe69283d0159714253500bf74b5ae5f762351
parent21cad3e09f173154c4c0dc61dd05fe8dd0628dc3

Rename nonSIMDCall* to nonSimdCall*


1 files changed, 16 insertions(+), 4 deletions(-)

lib/std/valgrind.zig+16-4
......@@ -124,22 +124,34 @@ pub fn innerThreads(qzz: [*]u8) void {
124124 doClientRequestStmt(.InnerThreads, qzz, 0, 0, 0, 0);
125125}
126126
127pub fn nonSIMDCall0(func: fn (usize) usize) usize {
127pub fn nonSimdCall0(func: fn (usize) usize) usize {
128128 return doClientRequestExpr(0, .ClientCall0, @intFromPtr(func), 0, 0, 0, 0);
129129}
130130
131pub fn nonSIMDCall1(func: fn (usize, usize) usize, a1: usize) usize {
131pub fn nonSimdCall1(func: fn (usize, usize) usize, a1: usize) usize {
132132 return doClientRequestExpr(0, .ClientCall1, @intFromPtr(func), a1, 0, 0, 0);
133133}
134134
135pub fn nonSIMDCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize {
135pub fn nonSimdCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize {
136136 return doClientRequestExpr(0, .ClientCall2, @intFromPtr(func), a1, a2, 0, 0);
137137}
138138
139pub fn nonSIMDCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize {
139pub fn nonSimdCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize {
140140 return doClientRequestExpr(0, .ClientCall3, @intFromPtr(func), a1, a2, a3, 0);
141141}
142142
143/// Deprecated: use `nonSimdCall0`
144pub const nonSIMDCall0 = nonSimdCall0;
145
146/// Deprecated: use `nonSimdCall1`
147pub const nonSIMDCall1 = nonSimdCall1;
148
149/// Deprecated: use `nonSimdCall2`
150pub const nonSIMDCall2 = nonSimdCall2;
151
152/// Deprecated: use `nonSimdCall3`
153pub const nonSIMDCall3 = nonSimdCall3;
154
143155/// Counts the number of errors that have been recorded by a tool. Nb:
144156/// the tool must record the errors with VG_(maybe_record_error)() or
145157/// VG_(unique_error)() for them to be counted.