Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for useVFPv1 (0.14 sec)

  1. src/cmd/dist/util_gc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    package main
    
    // useVFPv1 tries to execute one VFPv1 instruction on ARM.
    // It will crash the current process if VFPv1 is missing.
    func useVFPv1()
    
    // useVFPv3 tries to execute one VFPv3 instruction on ARM.
    // It will crash the current process if VFPv3 is missing.
    func useVFPv3()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 609 bytes
    - Viewed (0)
  2. src/cmd/dist/util_gccgo.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gccgo
    
    package main
    
    func useVFPv1() {}
    
    func useVFPv3() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 252 bytes
    - Viewed (0)
  3. src/cmd/dist/vfp_default.s

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gc && !arm
    
    #include "textflag.h"
    
    TEXT ·useVFPv1(SB),NOSPLIT,$0
    	RET
    
    TEXT ·useVFPv3(SB),NOSPLIT,$0
    	RET
    
    TEXT ·useARMv6K(SB),NOSPLIT,$0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 317 bytes
    - Viewed (0)
  4. src/cmd/dist/vfp_arm.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "textflag.h"
    
    // try to run "vmov.f64 d0, d0" instruction
    TEXT ·useVFPv1(SB),NOSPLIT,$0
    	WORD $0xeeb00b40	// vmov.f64 d0, d0
    	RET
    
    // try to run VFPv3-only "vmov.f64 d0, #112" instruction
    TEXT ·useVFPv3(SB),NOSPLIT,$0
    	WORD $0xeeb70b00	// vmov.f64 d0, #112
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 651 bytes
    - Viewed (0)
  5. src/cmd/dist/main.go

    	// the bootstrap version is now 1.17+ and thus this is fine.
    	if runtime.GOMAXPROCS(0) == 1 {
    		maxbg = 1
    	}
    	bginit()
    
    	if len(os.Args) > 1 && os.Args[1] == "-check-goarm" {
    		useVFPv1() // might fail with SIGILL
    		println("VFPv1 OK.")
    		useVFPv3() // might fail with SIGILL
    		println("VFPv3 OK.")
    		os.Exit(0)
    	}
    
    	xinit()
    	xmain()
    	xexit(0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top