commit fe66a12a23eda90b89b06dc28957f3baac01ee89 (tree)
parent 21cad3e09f173154c4c0dc61dd05fe8dd0628dc3
Author: Michael Bradshaw <github@mjb.io>
Date: Fri, 28 Jun 2024 08:27:00 -0700
Rename nonSIMDCall* to nonSimdCall*
Diffstat:
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/lib/std/valgrind.zig b/lib/std/valgrind.zig
@@ -124,22 +124,34 @@ pub fn innerThreads(qzz: [*]u8) void {
doClientRequestStmt(.InnerThreads, qzz, 0, 0, 0, 0);
}
-pub fn nonSIMDCall0(func: fn (usize) usize) usize {
+pub fn nonSimdCall0(func: fn (usize) usize) usize {
return doClientRequestExpr(0, .ClientCall0, @intFromPtr(func), 0, 0, 0, 0);
}
-pub fn nonSIMDCall1(func: fn (usize, usize) usize, a1: usize) usize {
+pub fn nonSimdCall1(func: fn (usize, usize) usize, a1: usize) usize {
return doClientRequestExpr(0, .ClientCall1, @intFromPtr(func), a1, 0, 0, 0);
}
-pub fn nonSIMDCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize {
+pub fn nonSimdCall2(func: fn (usize, usize, usize) usize, a1: usize, a2: usize) usize {
return doClientRequestExpr(0, .ClientCall2, @intFromPtr(func), a1, a2, 0, 0);
}
-pub fn nonSIMDCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize {
+pub fn nonSimdCall3(func: fn (usize, usize, usize, usize) usize, a1: usize, a2: usize, a3: usize) usize {
return doClientRequestExpr(0, .ClientCall3, @intFromPtr(func), a1, a2, a3, 0);
}
+/// Deprecated: use `nonSimdCall0`
+pub const nonSIMDCall0 = nonSimdCall0;
+
+/// Deprecated: use `nonSimdCall1`
+pub const nonSIMDCall1 = nonSimdCall1;
+
+/// Deprecated: use `nonSimdCall2`
+pub const nonSIMDCall2 = nonSimdCall2;
+
+/// Deprecated: use `nonSimdCall3`
+pub const nonSIMDCall3 = nonSimdCall3;
+
/// Counts the number of errors that have been recorded by a tool. Nb:
/// the tool must record the errors with VG_(maybe_record_error)() or
/// VG_(unique_error)() for them to be counted.