Skip to content

Commit

Permalink
Merge "Update unaligned-vector-mem to -munaligned-access" into main am:
Browse files Browse the repository at this point in the history
592b54c am: b54effc

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2977952

Change-Id: Icd6b27f8139e010bb35278fdf4ebf8fad18bac04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
  • Loading branch information
appujee authored and android-build-merge-worker-robot committed Feb 28, 2024
2 parents 081276d + b54effc commit c4538a0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cc/config/riscv64_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ var (
// Help catch common 32/64-bit errors.
"-Werror=implicit-function-declaration",
"-march=rv64gcv_zba_zbb_zbs",
// 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",
"-munaligned-access",
// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
"-mno-implicit-float",
// (https://github.com/google/android-riscv64/issues/124)
Expand All @@ -40,9 +38,7 @@ var (
riscv64Ldflags = []string{
"-Wl,--hash-style=gnu",
"-march=rv64gcv_zba_zbb_zbs",
// 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",
"-munaligned-access",
// We should change the default for this in clang, but for now...
// (https://github.com/google/android-riscv64/issues/124)
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
Expand Down

0 comments on commit c4538a0

Please sign in to comment.