- Notifications
You must be signed in to change notification settings - Fork240
Commitcf0fff3
committed
Add -march=native in clang compile flags to enable auto-vectorization
Tested on Macbook Pro with 2.4 GHz Intel Core i9, Clang 15 Output of objdump on bench_cpp when these flags are present: postgres@4832feb5168c:/lantern_shared/third_party/usearch/build_release$ objdump -d ./bench_cpp | grep vzero | head 1cad3: c5 f8 77 vzeroupper 1cb1e: c5 f8 77 vzeroupper ... grep output is empty when the flags are not present1 parent37b47b0 commitcf0fff3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
0 commit comments
Comments
(0)