Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for vfpv4 (0.05 sec)

  1. src/vendor/golang.org/x/sys/cpu/cpu_arm.go

    		{Name: "thumbee", Feature: &ARM.HasTHUMBEE},
    		{Name: "tls", Feature: &ARM.HasTLS},
    		{Name: "vfp", Feature: &ARM.HasVFP},
    		{Name: "vfpd32", Feature: &ARM.HasVFPD32},
    		{Name: "vfpv3", Feature: &ARM.HasVFPv3},
    		{Name: "vfpv3d16", Feature: &ARM.HasVFPv3D16},
    		{Name: "vfpv4", Feature: &ARM.HasVFPv4},
    		{Name: "half", Feature: &ARM.HasHALF},
    		{Name: "26bit", Feature: &ARM.Has26BIT},
    		{Name: "fastmul", Feature: &ARM.HasFASTMUL},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 2.1K bytes
    - Viewed (0)
  2. src/internal/cpu/cpu_arm.go

    // HWCAP/HWCAP2 bits. These are exposed by Linux and FreeBSD.
    const (
    	hwcap_VFPv4 = 1 << 16
    	hwcap_IDIVA = 1 << 17
    	hwcap_LPAE  = 1 << 20
    )
    
    func doinit() {
    	options = []option{
    		{Name: "vfpv4", Feature: &ARM.HasVFPv4},
    		{Name: "idiva", Feature: &ARM.HasIDIVA},
    		{Name: "v7atomics", Feature: &ARM.HasV7Atomics},
    	}
    
    	// HWCAP feature bits
    	ARM.HasVFPv4 = isSet(HWCap, hwcap_VFPv4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:38:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "MULSD", argLength: 3, reg: fp31, asm: "MULSD", resultInArg0: true}, // arg0 - (arg1 * arg2)
    
    		// FMULAD only exists on platforms with the VFPv4 instruction set.
    		// Any use must be preceded by a successful check of runtime.arm_support_vfpv4.
    		{name: "FMULAD", argLength: 3, reg: fp31, asm: "FMULAD", resultInArg0: true}, // arg0 + (arg1 * arg2)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. src/cmd/dist/util_gc.go

    // 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()
    
    // useARMv6K tries to run ARMv6K instructions on ARM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 609 bytes
    - Viewed (0)
  5. src/cmd/dist/main.go

    	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)
    }
    
    // The OS-specific main calls into the portable code here.
    func xmain() {
    	if len(os.Args) < 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/runtime/os_freebsd_arm.go

    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/runtime/os_linux_arm.go

    		print("to GOARM.\n")
    		exit(1)
    	}
    	if goarm > 6 && cpu.HWCap&_HWCAP_VFPv3 == 0 && goarmsoftfp == 0 {
    		print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n")
    		print("a binary compiled for VFPv3 hard floating point. Recompile adding ,softfloat\n")
    		print("to GOARM or changing GOARM to 6.\n")
    		exit(1)
    	}
    }
    
    func archauxv(tag, val uintptr) {
    	switch tag {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/dist/vfp_arm.s

    //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
    
    // try to run ARMv6K (or above) "ldrexd" instruction
    TEXT ·useARMv6K(SB),NOSPLIT,$32
    	MOVW R13, R2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 651 bytes
    - Viewed (0)
  9. src/cmd/dist/util.go

    		// Seeing how far it gets determines which instructions failed.
    		// The test is OS-agnostic.
    		out := run("", 0, os.Args[0], "-check-goarm")
    		v1ok := strings.Contains(out, "VFPv1 OK.")
    		v3ok := strings.Contains(out, "VFPv3 OK.")
    		if v1ok && v3ok {
    			return "7"
    		}
    		if v1ok {
    			return "6"
    		}
    		return "5"
    	}
    
    	// Otherwise, in the absence of local information, assume GOARM=7.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm/asm5.go

    	// We use GOARM.Version=7 and !GOARM.SoftFloat to gate the use of VFPv3 vmov (imm) instructions.
    	if buildcfg.GOARM.Version < 7 || buildcfg.GOARM.SoftFloat || math.Float64bits(e) != 0 {
    		return -1
    	}
    	return 0
    }
    
    func (c *ctxt5) chipfloat5(e float64) int {
    	// We use GOARM.Version=7 and !GOARM.SoftFloat to gate the use of VFPv3 vmov (imm) instructions.
    	if buildcfg.GOARM.Version < 7 || buildcfg.GOARM.SoftFloat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
Back to top