diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-05-02 20:26:48 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-05-03 13:27:30 -0700 |
| commit | a52f12afc97c5973cfb844be01cf40a9a6fdb57a (patch) | |
| tree | 07163ba57f35f0105745ea85b482b4b799c4b7a7 /lib/std/simd.zig | |
| parent | 3b5be9fb6e06f6494ca05fb087a2121e220beb3f (diff) | |
| download | zig-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.zig | 4 |
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 { |
