Browse Source

Merge "riscv64: enable Zbs."

Elliott Hughes 1 year ago
parent
commit
7225dd87f3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cc/config/riscv64_device.go

+ 2 - 2
cc/config/riscv64_device.go

@@ -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,