riscv64: enable Zbs.

Cuttlefish still boots to homescreen, all instructions in the extension
are actually seen to be in use, and the bionic tests still pass.

Test: see above
Change-Id: I429729a722cdd7b3bdf257cb7329ee151ec998a0
This commit is contained in:
Elliott Hughes
2023-06-14 08:33:38 -07:00
parent 03520eb2f9
commit 121483bbbc

View File

@@ -29,14 +29,14 @@ var (
// A temporary fix for SExtWRemoval miscompilation bug.
"-mllvm",
"-riscv-disable-sextw-removal=true",
"-march=rv64gc_zba_zbb",
"-march=rv64gc_zba_zbb_zbs",
}
riscv64ArchVariantCflags = map[string][]string{}
riscv64Ldflags = []string{
"-Wl,--hash-style=gnu",
"-march=rv64gc_zba_zbb",
"-march=rv64gc_zba_zbb_zbs",
}
riscv64Lldflags = append(riscv64Ldflags,