riscv64: enable Zba.
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: I6373fa6245115b9b6c845db03ee73b321c07e02a
This commit is contained in:
@@ -29,14 +29,14 @@ var (
|
|||||||
// A temporary fix for SExtWRemoval miscompilation bug.
|
// A temporary fix for SExtWRemoval miscompilation bug.
|
||||||
"-mllvm",
|
"-mllvm",
|
||||||
"-riscv-disable-sextw-removal=true",
|
"-riscv-disable-sextw-removal=true",
|
||||||
"-march=rv64gc_zbb",
|
"-march=rv64gc_zba_zbb",
|
||||||
}
|
}
|
||||||
|
|
||||||
riscv64ArchVariantCflags = map[string][]string{}
|
riscv64ArchVariantCflags = map[string][]string{}
|
||||||
|
|
||||||
riscv64Ldflags = []string{
|
riscv64Ldflags = []string{
|
||||||
"-Wl,--hash-style=gnu",
|
"-Wl,--hash-style=gnu",
|
||||||
"-march=rv64gc_zbb",
|
"-march=rv64gc_zba_zbb",
|
||||||
}
|
}
|
||||||
|
|
||||||
riscv64Lldflags = append(riscv64Ldflags,
|
riscv64Lldflags = append(riscv64Ldflags,
|
||||||
|
Reference in New Issue
Block a user