Source file src/cmd/dist/util_gc.go

     1  // Copyright 2015 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  
     7  package main
     8  
     9  // useVFPv1 tries to execute one VFPv1 instruction on ARM.
    10  // It will crash the current process if VFPv1 is missing.
    11  func useVFPv1()
    12  
    13  // useVFPv3 tries to execute one VFPv3 instruction on ARM.
    14  // It will crash the current process if VFPv3 is missing.
    15  func useVFPv3()
    16  
    17  // useARMv6K tries to run ARMv6K instructions on ARM.
    18  // It will crash the current process if it doesn't implement
    19  // ARMv6K or above.
    20  func useARMv6K()
    21  

View as plain text