Skip to content
Commit 73c26018 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

aarch64: fix check for SVE support in assembler



Due to GCC bug 110901 -mcpu can override -march setting when compiling
asm code and thus a compiler targetting a specific cpu can fail the
configure check even when binutils gas supports SVE.

The workaround is that explicit .arch directive overrides both -mcpu
and -march, and since that's what the actual SVE memcpy uses the
configure check should use that too even if the GCC issue is fixed
independently.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
parent 2367bf46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment