github.com/nibnait/go-learn@v0.0.0-20220227013611-dfa47ea6d2da/src/pkg/mod/golang.org/x/sys@v0.0.0-20210630005230-0f9fa26af87c/cpu/cpu_gc_s390x.go (about)

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