[cc:riscv64] change -munaligned-access to -mno-strict-align

Bug: http://b/327307773

cd071253c7 removed -munaligned-access

Change-Id: I7a102fa1cdc49564cb0b724e6f177d33b3636f55
Test: presubmit
This commit is contained in:
Pirama Arumuga Nainar 2024-03-18 18:12:43 +00:00
parent c2600464c7
commit 0593537f58

View file

@ -30,7 +30,7 @@ var (
// below) for ease of experimentation with additional extensions.
"-march=rv64gcv_zba_zbb_zbs",
// TODO: move to driver (https://github.com/google/android-riscv64/issues/111)
"-munaligned-access",
"-mno-strict-align",
// TODO: remove when qemu V works (https://gitlab.com/qemu-project/qemu/-/issues/1976)
// (Note that we'll probably want to wait for berberis to be good enough
// that most people don't care about qemu's V performance either!)
@ -51,7 +51,7 @@ var (
// above) for ease of experimentation with additional extensions.
"-march=rv64gcv_zba_zbb_zbs",
// TODO: move to driver (https://github.com/google/android-riscv64/issues/111)
"-munaligned-access",
"-mno-strict-align",
// TODO: remove when clang default changed (https://github.com/google/android-riscv64/issues/124)
"-Wl,-mllvm -Wl,-jump-is-expensive=false",
}