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