Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 376 for clobber (0.2 sec)

  1. src/cmd/cgo/internal/test/issue9400/asm_ppc64x.s

    //go:build (ppc64 || ppc64le) && gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R1
    
    	// Ask signaller to setgid
    	MOVW	$1, R3
    	SYNC
    	MOVW	R3, ·Baton(SB)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 668 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9400/asm_386.s

    //go:build gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	MOVL	$·Baton(SB), BX
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDL	$(1024 * 8), SP
    
    	// Ask signaller to setgid
    	MOVL	$1, (BX)
    
    	// Wait for setgid completion
    loop:
    	PAUSE
    	MOVL	(BX), AX
    	CMPL	AX, $0
    	JNE	loop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 575 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue9400/asm_s390x.s

    // license that can be found in the LICENSE file.
    
    //go:build gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), R15
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R5
    	MOVW	$1, 0(R5)
    
    	// Wait for setgid completion
    loop:
    	SYNC
    	MOVW	·Baton(SB), R3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 580 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9400/asm_loong64.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADDV	$(1024*8), R3
    
    	// Ask signaller to setgid
    	MOVW	$1, R12
    	DBAR
    	MOVW	R12, ·Baton(SB)
    	DBAR
    
    	// Wait for setgid completion
    loop:
    	DBAR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 633 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/issue9400/asm_arm64.s

    //go:build gc
    
    #include "textflag.h"
    
    TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0
    	// Save link register
    	MOVD	R30, R9
    
    	// Rewind stack pointer so anything that happens on the stack
    	// will clobber the test pattern created by the caller
    	ADD	$(1024 * 8), RSP
    
    	// Ask signaller to setgid
    	MOVD	$·Baton(SB), R0
    	MOVD	$1, R1
    storeloop:
    	LDAXRW	(R0), R2
    	STLXRW	R1, (R0), R3
    	CBNZ	R3, storeloop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 760 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testshared/testdata/gcdata/main/main.go

    // variables with types defined in a shared library.
    // See issue 39927.
    
    // This test run under GODEBUG=clobberfree=1. The check
    // *x[i] == 12345 depends on this debug mode to clobber
    // the value if the object is freed prematurely.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"testshared/gcdata/p"
    )
    
    var x p.T
    
    func main() {
    	for i := range x {
    		x[i] = new(int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 763 bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/ssagen/arch.go

    	REGSP     int
    	MAXWIDTH  int64
    	SoftFloat bool
    
    	PadFrame func(int64) int64
    
    	// ZeroRange zeroes a range of memory on stack. It is only inserted
    	// at function entry, and it is ok to clobber registers.
    	ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog
    
    	Ginsnop func(*objw.Progs) *obj.Prog
    
    	// SSAMarkMoves marks any MOVXconst ops that need to avoid clobbering flags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite386.go

    	// cond: canMergeLoad(v, l) && clobber(l)
    	// result: (CMPBload {sym} [off] ptr x mem)
    	for {
    		l := v_0
    		if l.Op != Op386MOVBload {
    			break
    		}
    		off := auxIntToInt32(l.AuxInt)
    		sym := auxToSym(l.Aux)
    		mem := l.Args[1]
    		ptr := l.Args[0]
    		x := v_1
    		if !(canMergeLoad(v, l) && clobber(l)) {
    			break
    		}
    		v.reset(Op386CMPBload)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  10. src/cmd/internal/buildid/buildid_test.go

    				if elf.ProgType(phdr.Type) == elf.PT_NOTE {
    					// Increase the size so we keep
    					// reading notes.
    					order.PutUint64(data[phoff+4*8:], phdr.Filesz+1)
    
    					// Clobber the Align field to zero.
    					order.PutUint64(data[phoff+6*8:], 0)
    
    					// Clobber the note type so we
    					// keep reading notes.
    					order.PutUint32(data[phdr.Off+12:], 0)
    				}
    
    				phoff += phsize
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top