Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for clobbers (0.14 sec)

  1. src/runtime/tls_mipsx.s

    // NOTE: gogo assumes load_g only clobers g (R30) and REGTMP (R23)
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVW	R3, R23
    	MOVW	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVW	R23, R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVW	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 710 bytes
    - Viewed (0)
  2. src/runtime/tls_mips64x.s

    //
    // NOTE: mcall() assumes this clobbers only R23 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R23
    	BEQ	R23, nocgo
    
    	MOVV	R3, R23	// save R3
    	MOVV	g, runtime·tls_g(SB) // TLS relocation clobbers R3
    	MOVV	R23, R3	// restore R3
    
    nocgo:
    	RET
    
    TEXT runtime·load_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVV	runtime·tls_g(SB), g // TLS relocation clobbers R3
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 733 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer/framepointer.go

    // Package framepointer defines an Analyzer that reports assembly code
    // that clobbers the frame pointer before saving it.
    package framepointer
    
    import (
    	"go/build"
    	"regexp"
    	"strings"
    
    	"golang.org/x/tools/go/analysis"
    	"golang.org/x/tools/go/analysis/passes/internal/analysisutil"
    )
    
    const Doc = "report assembly that clobbers the frame pointer before saving it"
    
    var Analyzer = &analysis.Analyzer{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/runtime/tls_ppc64x.s

    // thread-local memory, so that we can call externally compiled
    // ppc64 code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R31.
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_aix
    #ifndef GOOS_openbsd
    	MOVBZ	runtime·iscgo(SB), R31
    	CMP	R31, $0
    	BEQ	nocgo
    #endif
    #endif
    	MOVD	runtime·tls_g(SB), R31
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. test/fixedbugs/issue30977.go

    // run
    
    // Copyright 2019 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.
    
    // Issue 30977: write barrier call clobbers volatile
    // value when there are multiple uses of the value.
    
    package main
    
    import "runtime"
    
    type T struct {
    	a, b, c, d, e string
    }
    
    //go:noinline
    func g() T {
    	return T{"a", "b", "c", "d", "e"}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:05:13 UTC 2019
    - 865 bytes
    - Viewed (0)
  6. src/runtime/tls_s390x.s

    // thread-local memory, so that we can call externally compiled
    // s390x code that will overwrite this register.
    //
    // If !iscgo, this is a no-op.
    //
    // NOTE: setg_gcc<> assume this clobbers only R10 and R11.
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB),  R10
    	CMPBEQ	R10, $0, nocgo
    	MOVW	AR0, R11
    	SLD	$32, R11
    	MOVW	AR1, R11
    	MOVD	runtime·tls_g(SB), R10
    	MOVD	g, 0(R10)(R11*1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 07 18:56:54 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/main.go

    					r := v.reg.inputs[p.val]
    					fmt.Fprintf(w, "{%d,%d},%s\n", p.val, r, a.regMaskComment(r))
    				}
    				fmt.Fprintln(w, "},")
    			}
    
    			if v.reg.clobbers > 0 {
    				fmt.Fprintf(w, "clobbers: %d,%s\n", v.reg.clobbers, a.regMaskComment(v.reg.clobbers))
    			}
    
    			// reg outputs
    			s = s[:0]
    			for i, r := range v.reg.outputs {
    				s = append(s, intPair{countRegs(r), i})
    			}
    			if len(s) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  8. src/runtime/tls_arm.s

    // thread-local memory, so that we can call externally compiled
    // ARM code that will overwrite those registers.
    // NOTE: runtime.gogo assumes that R1 is preserved by this function.
    //       runtime.mcall assumes this function only clobbers R0 and R11.
    // Returns with g in R0.
    TEXT runtime·save_g(SB),NOSPLIT,$0
    	// If the host does not support MRC the linker will replace it with
    	// a call to runtime.read_tls_fallback which jumps to __kuser_get_tls.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:38:07 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/MIPSOps.go

    		// function calls
    		{name: "CALLstatic", argLength: 1, reg: regInfo{clobbers: callerSave}, aux: "CallOff", clobberFlags: true, call: true},                                               // call static function aux.(*obj.LSym).  arg0=mem, auxint=argsize, returns mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 24K bytes
    - Viewed (0)
  10. src/runtime/tls_riscv64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only X31 (REG_TMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    #ifndef GOOS_openbsd
    	MOVB	runtime·iscgo(SB), X31
    	BEQZ	X31, nocgo
    #endif
    	MOV	g, runtime·tls_g(SB)
    nocgo:
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:17 UTC 2023
    - 615 bytes
    - Viewed (0)
Back to top