Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 31 for LOONG64 (0.15 sec)

  1. test/nosplit.go

    		ptrSize := 4
    		switch goarch {
    		case "mips", "mipsle":
    			fmt.Fprintf(&buf, "#define REGISTER (R0)\n")
    		case "mips64", "mips64le":
    			ptrSize = 8
    			fmt.Fprintf(&buf, "#define REGISTER (R0)\n")
    		case "loong64":
    			ptrSize = 8
    			fmt.Fprintf(&buf, "#define REGISTER (R0)\n")
    		case "ppc64", "ppc64le":
    			ptrSize = 8
    			fmt.Fprintf(&buf, "#define REGISTER (CTR)\n")
    		case "arm":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/link/link_test.go

    DATA	·alignPcFnAddr(SB)/8,$·alignPc(SB)
    `,
    	"loong64": `
    #include "textflag.h"
    
    TEXT	·alignPc(SB),NOSPLIT, $0-0
    	MOVV	$2, R4
    	PCALIGN	$512
    	MOVV	$3, R5
    	RET
    
    GLOBL	·alignPcFnAddr(SB),RODATA,$8
    DATA	·alignPcFnAddr(SB)/8,$·alignPc(SB)
    `,
    }
    
    // TestFuncAlign verifies that the address of a function can be aligned
    // with a specific value on arm64 and loong64.
    func TestFuncAlign(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  3. src/runtime/asm_loong64.s

    	// should never return
    	JAL	runtime·abort(SB)
    	UNDEF
    
    /*
     * support for morestack
     */
    
    // Called during function prolog when more stack is needed.
    // Caller has already loaded:
    // loong64: R31: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_loong64.s

    // Copyright 2022 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.
    
    //
    // System calls and other sys.stuff for loong64, Linux
    //
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "textflag.h"
    #include "cgo/abi_loong64.h"
    
    #define AT_FDCWD	-100
    #define CLOCK_REALTIME	0
    #define CLOCK_MONOTONIC	1
    
    #define SYS_exit		93
    #define SYS_read		63
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. src/runtime/mkpreempt.go

    	"X11",
    	"X12",
    	"X13",
    	"X14",
    	"X15",
    }
    
    var out io.Writer
    
    var arches = map[string]func(){
    	"386":     gen386,
    	"amd64":   genAMD64,
    	"arm":     genARM,
    	"arm64":   genARM64,
    	"loong64": genLoong64,
    	"mips64x": func() { genMIPS(true) },
    	"mipsx":   func() { genMIPS(false) },
    	"ppc64x":  genPPC64,
    	"riscv64": genRISCV64,
    	"s390x":   genS390X,
    	"wasm":    genWasm,
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/reloctype.go

    	// instruction.
    	R_RISCV_RVC_JUMP
    
    	// R_PCRELDBL relocates s390x 2-byte aligned PC-relative addresses.
    	// TODO(mundaym): remove once variants can be serialized - see issue 14218.
    	R_PCRELDBL
    
    	// Loong64.
    
    	// R_LOONG64_ADDR_HI resolves to the sign-adjusted "upper" 20 bits (bit 5-24) of an
    	// external address, by encoding it into the instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_linux_loong64.go

    // mksyscall.pl -tags linux,loong64 syscall_linux.go syscall_linux_loong64.go
    // Code generated by the command above; DO NOT EDIT.
    
    //go:build linux && loong64
    
    package syscall
    
    import "unsafe"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func faccessat(dirfd int, path string, mode uint32) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/obj.go

    // Copyright 2022 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.
    
    package loong64
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"internal/abi"
    	"log"
    	"math"
    )
    
    func progedit(ctxt *obj.Link, p *obj.Prog, newprog obj.ProgAlloc) {
    	// Rewrite JMP/JAL to symbol as TYPE_BRANCH.
    	switch p.As {
    	case AJMP,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:22:18 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/pcln.go

    				// instruction).
    				deferreturn = uint32(r.Off())
    				switch target.Arch.Family {
    				case sys.AMD64, sys.I386:
    					deferreturn--
    				case sys.ARM, sys.ARM64, sys.Loong64, sys.MIPS, sys.MIPS64, sys.PPC64, sys.RISCV64:
    					// no change
    				case sys.S390X:
    					deferreturn -= 2
    				default:
    					panic(fmt.Sprint("Unhandled architecture:", target.Arch.Family))
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/runtime/signal_unix.go

    // On some architectures, the g value may be clobbered when running in a VDSO.
    // See issue #32912.
    //
    //go:nosplit
    func sigFetchG(c *sigctxt) *g {
    	switch GOARCH {
    	case "arm", "arm64", "loong64", "ppc64", "ppc64le", "riscv64", "s390x":
    		if !iscgo && inVDSOPage(c.sigpc()) {
    			// When using cgo, we save the g on TLS and load it from there
    			// in sigtramp. Just use that.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top