aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2020-01-23 11:34:10 -0800
committerIan Lance Taylor <iant@golang.org>2020-01-23 16:05:47 -0800
commit1e156d9b214b275dc8b98c0ab5330b788a688f0f (patch)
treeb960b466f84a3bd184ed382f800638df4eb93910
parentdfa075d00d396f554b4aca183c3ca685fbb73bbd (diff)
downloadgcc-1e156d9b214b275dc8b98c0ab5330b788a688f0f.zip
gcc-1e156d9b214b275dc8b98c0ab5330b788a688f0f.tar.gz
gcc-1e156d9b214b275dc8b98c0ab5330b788a688f0f.tar.bz2
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
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--libgo/go/internal/cpu/cpu_riscv64.go2
2 files changed, 1 insertions, 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