Commit fe66a12a23

Michael Bradshaw <github@mjb.io>
2024-06-28 17:27:00
Rename nonSIMDCall* to nonSimdCall*
1 parent 21cad3e
Changed files (1)
lib
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.