mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 08:33:06 +00:00
std.mem: fix simd.suggestVectorLength merge conflict
Commits2f8e4347b1
and6a32d58876
had a conflict that was undetected by source control.
This commit is contained in:
parent
828d23956d
commit
e025ad7b46
@ -665,7 +665,7 @@ fn eqlBytes(a: []const u8, b: []const u8) bool {
|
||||
|
||||
// Figure out the fastest way to scan through the input in chunks.
|
||||
// Uses vectors when supported and falls back to usize/words when not.
|
||||
const Scan = if (std.simd.suggestVectorSize(u8)) |vec_size|
|
||||
const Scan = if (std.simd.suggestVectorLength(u8)) |vec_size|
|
||||
struct {
|
||||
pub const size = vec_size;
|
||||
pub const Chunk = @Vector(size, u8);
|
||||
|
Loading…
Reference in New Issue
Block a user