Skip to content

Commit

Permalink
Enable crypto extensions for armv9-a
Browse files Browse the repository at this point in the history
It's not enabled by default for ARMv9-A targets on LLVM.
But most, if not all, of the ARMv9-A CPUs do support it.

Ref: llvm/llvm-project@f576cbe
Shoutout to Jake for noticing.

Change-Id: I5d900df45de9d843546ab2c0a9537eb79662be4a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
  • Loading branch information
adithya2306 authored and neobuddy89 committed Sep 8, 2024
1 parent 87df93b commit dc1da84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cc/config/arm64_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var (
"-march=armv8.2-a+lse+fp16+dotprod",
},
"armv9-a": []string{
"-march=armv9-a+nosve",
"-march=armv9-a+crypto+nosve",
"-mbranch-protection=standard",
"-fno-stack-protector",
},
Expand Down

0 comments on commit dc1da84

Please sign in to comment.