Skip to content
Commit 7f3c1433 authored by Szabolcs Nagy's avatar Szabolcs Nagy Committed by Wilco Dijkstra
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>
(cherry picked from commit 73c26018)
parent 9112cda4
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