cpu_gc_s390x.go 677 B

123456789101112131415161718192021
  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. // +build !gccgo
  5. package cpu
  6. // haveAsmFunctions reports whether the other functions in this file can
  7. // be safely called.
  8. func haveAsmFunctions() bool { return true }
  9. // The following feature detection functions are defined in cpu_s390x.s.
  10. // They are likely to be expensive to call so the results should be cached.
  11. func stfle() facilityList
  12. func kmQuery() queryResult
  13. func kmcQuery() queryResult
  14. func kmctrQuery() queryResult
  15. func kmaQuery() queryResult
  16. func kimdQuery() queryResult
  17. func klmdQuery() queryResult