aboutsummaryrefslogtreecommitdiff
path: root/lib/std/simd.zig
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2024-05-02 20:26:48 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-05-03 13:27:30 -0700
commita52f12afc97c5973cfb844be01cf40a9a6fdb57a (patch)
tree07163ba57f35f0105745ea85b482b4b799c4b7a7 /lib/std/simd.zig
parent3b5be9fb6e06f6494ca05fb087a2121e220beb3f (diff)
downloadzig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.tar.gz
zig-a52f12afc97c5973cfb844be01cf40a9a6fdb57a.zip
Delete compile errors for deprecated decls
Diffstat (limited to 'lib/std/simd.zig')
-rw-r--r--lib/std/simd.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/std/simd.zig b/lib/std/simd.zig
index 7fe9b839cc..d2b85f4ad0 100644
--- a/lib/std/simd.zig
+++ b/lib/std/simd.zig
@@ -8,8 +8,6 @@
const std = @import("std");
const builtin = @import("builtin");
-pub const suggestVectorSizeForCpu = @compileError("deprecated; use 'suggestVectorLengthForCpu'");
-
pub fn suggestVectorLengthForCpu(comptime T: type, comptime cpu: std.Target.Cpu) ?comptime_int {
// This is guesswork, if you have better suggestions can add it or edit the current here
// This can run in comptime only, but stage 1 fails at it, stage 2 can understand it
@@ -57,8 +55,6 @@ pub fn suggestVectorLengthForCpu(comptime T: type, comptime cpu: std.Target.Cpu)
return @divExact(vector_bit_size, element_bit_size);
}
-pub const suggestVectorSize = @compileError("deprecated; use 'suggestVectorLength'");
-
/// Suggests a target-dependant vector length for a given type, or null if scalars are recommended.
/// Not yet implemented for every CPU architecture.
pub fn suggestVectorLength(comptime T: type) ?comptime_int {