Disable auto-vectorization.
Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed, this is just causing too much confusion and wasted time. Removing V from the architecture string has the same effect, but requires some code changes (to be able to compile code that's _explicitly_ using V), and makes it less obvious that this is just a temporary workaround for a qemu bug. Bug: http://b/320416684 Test: objdump Change-Id: Iec7d63ab227b31f82f530dabbdc4f3aa54277f04
This commit is contained in:
parent
6794cc20c5
commit
c0ea850bfb
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ var (
|
|||
// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
|
||||
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
|
||||
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
|
||||
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
|
||||
"-fno-vectorize",
|
||||
}
|
||||
|
||||
riscv64ArchVariantCflags = map[string][]string{}
|
||||
|
|
Loading…
Reference in a new issue