Merge "Really disable auto-vectorization." into main
This commit is contained in:
@@ -30,7 +30,7 @@ var (
|
|||||||
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
|
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
|
||||||
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
|
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
|
||||||
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
|
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
|
||||||
"-fno-vectorize",
|
"-mno-implicit-float",
|
||||||
// (https://github.com/google/android-riscv64/issues/124)
|
// (https://github.com/google/android-riscv64/issues/124)
|
||||||
"-mllvm -jump-is-expensive=false",
|
"-mllvm -jump-is-expensive=false",
|
||||||
}
|
}
|
||||||
@@ -43,8 +43,6 @@ var (
|
|||||||
// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
|
// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
|
||||||
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
|
"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
|
||||||
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
|
"-Xclang -target-feature -Xclang +unaligned-vector-mem",
|
||||||
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
|
|
||||||
"-Wl,-mllvm,-vectorize-loops=false",
|
|
||||||
// We should change the default for this in clang, but for now...
|
// We should change the default for this in clang, but for now...
|
||||||
// (https://github.com/google/android-riscv64/issues/124)
|
// (https://github.com/google/android-riscv64/issues/124)
|
||||||
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
|
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
|
||||||
|
Reference in New Issue
Block a user