Skip to content

Commit 1ec5ff8

Browse files
Ensure we use bytes, not bits (#86510)
1 parent 840c20e commit 1ec5ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/jit/compiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2307,7 +2307,7 @@ void Compiler::compSetProcessor()
23072307
// users can override this with `DOTNET_PreferredVectorBitWidth=512` to
23082308
// allow using such instructions where hardware support is available.
23092309

2310-
preferredVectorByteLength = 256;
2310+
preferredVectorByteLength = 256 / 8;
23112311
}
23122312
}
23132313
else

0 commit comments

Comments
 (0)