Bryan C. Mills | b354f8b | 2019-03-06 16:31:30 -0500 | [diff] [blame^] | 1 | // Copyright 2019 The Go Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style | ||||
3 | // license that can be found in the LICENSE file. | ||||
4 | |||||
5 | package cpu | ||||
6 | |||||
7 | // We're compiling the cpu package for an unknown (software-abstracted) CPU. | ||||
8 | // Make CacheLinePad an empty struct and hope that the usual struct alignment | ||||
9 | // rules are good enough. | ||||
10 | |||||
11 | const cacheLineSize = 0 | ||||
12 | |||||
13 | func doinit() {} |