[gcc(refs/vendors/redhat/heads/gcc-10-branch)] internal/cpu: don't define CacheLinePadSize for riscv64
Jakub Jelinek
jakub@gcc.gnu.org
Sun Jan 26 17:33:00 GMT 2020
https://gcc.gnu.org/g:1e156d9b214b275dc8b98c0ab5330b788a688f0f
commit 1e156d9b214b275dc8b98c0ab5330b788a688f0f
Author: Ian Lance Taylor <iant@golang.org>
Date: Thu Jan 23 11:34:10 2020 -0800
internal/cpu: don't define CacheLinePadSize for riscv64
In libgo CacheLinePadSize is defined by the generated file cpugen.go.
Keep cpu_riscv64.go around, even though it is now empty, so that
we will pick up changes to it in future merges.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/216077
Diff:
---
gcc/go/gofrontend/MERGE | 2 +-
libgo/go/internal/cpu/cpu_riscv64.go | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index a8ba3af..fc1dbac 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-7d3081ce69dda123d77e35e8b9d282e40e9465e2
+10a8dbfc9945c672d59af8edb9790e2019cdeb27
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/go/internal/cpu/cpu_riscv64.go b/libgo/go/internal/cpu/cpu_riscv64.go
index c49cab7..d920fcf 100644
--- a/libgo/go/internal/cpu/cpu_riscv64.go
+++ b/libgo/go/internal/cpu/cpu_riscv64.go
@@ -3,5 +3,3 @@
// license that can be found in the LICENSE file.
package cpu
-
-const CacheLinePadSize = 32
More information about the Gcc-cvs
mailing list