Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for clobber (0.12 sec)

  1. test/codegen/clobberdead.go

    package codegen
    
    type T [2]*int // contain pointer, not SSA-able (so locals are not registerized)
    
    var p1, p2, p3 T
    
    func F() {
    	// 3735936685 is 0xdeaddead. On ARM64 R27 is REGTMP.
    	// clobber x, y at entry. not clobber z (stack object).
    	// amd64:`MOVL\t\$3735936685, command-line-arguments\.x`, `MOVL\t\$3735936685, command-line-arguments\.y`, -`MOVL\t\$3735936685, command-line-arguments\.z`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/mergelocals/integration.go

    	np uintptr
    	x  [1023]int
    }
    
    var G int
    
    //go:noinline
    func clobber() {
    	G++
    }
    
    func ABC(i, j int) int {
    	r := 0
    
    	// here v2 and v3 can be overlapped.
    	clobber()
    	if i < 101 {
    		var v2 Vanilla
    		v2.x[i] = j
    		r += v2.x[j]
    	}
    	if j != 303 {
    		var v3 Vanilla2
    		v3.x[i] = j
    		r += v3.x[j]
    	}
    	clobber()
    
    	// not an overlap candidate (only one var of this size).
    	var s Single
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 17:42:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/test/issue9400/asm_mips64x.s

    //go:build (mips64 || mips64le) && gc
    
    #include "textflag.h"
    
    #define SYNC	WORD $0xf
    
    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), R29
    
    	// Ask signaller to setgid
    	MOVW	$1, R1
    	SYNC
    	MOVW	R1, ·Baton(SB)
    	SYNC
    
    	// Wait for setgid completion
    loop:
    	SYNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 691 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    // license that can be found in the LICENSE file.
    
    //go:build riscv64 && 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), X2
    
    	// Ask signaller to setgid
    	MOV	$1, X5
    	FENCE
    	MOVW	X5, ·Baton(SB)
    	FENCE
    
    	// Wait for setgid completion
    loop:
    	FENCE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/runtime/signal_ppc64x.go

    	// Push the LR to stack, as we'll clobber it in order to
    	// push the call. The function being pushed is responsible
    	// for restoring the LR and setting the SP back.
    	// This extra space is known to gentraceback.
    	sp := c.sp() - sys.MinFrameSize
    	c.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
    	// In PIC mode, we'll set up (i.e. clobber) R2 on function
    	// entry. Save it ahead of time.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 15:08:04 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/inittask.go

    		ctxt.mainInittasks = ctxt.inittaskSym([]string{fmt.Sprintf("%s..inittask", objabi.PathToPrefix(*flagPluginPath))}, "go:plugin.inittasks")
    		// Make symbol local so multiple plugins don't clobber each other's inittask list.
    		ctxt.loader.SetAttrLocal(ctxt.mainInittasks, true)
    	case BuildModeShared:
    		// For a shared library, all packages are roots.
    		var roots []string
    		for _, lib := range ctxt.Library {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tools/build-base-images.sh

    # * export DOCKER_ARCHITECTURES="linux/amd64,linux/arm64"
    # Note: if you already have a container builder before running the qemu setup you will need to restart them
    "${ROOT}/tools/docker" --push --no-cache --no-clobber --targets="${DOCKER_TARGETS}"
    
    APKO_IMAGES=""
    for h in ${HUBS}; do
      for t in ${TAGS:-$TAG}; do
        APKO_IMAGES+="${h}/iptables:$t "
      done
    done
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 17:24:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    	.globl	notoc_func
    	.type	notoc_func, @function
    notoc_func:
    	// Save R2 and LR and stack a frame.
    	mflr	0
    	std	0,16(1)
    	stdu	1,-32(1)
    
    	// Save R2 in TOC save slot.
    	std	2,24(1)
    
    	// clobber R2
    	li	2,0
    
    	// Call type2_func. A call stub from notoc to toc should be inserted.
    	bl	toc_func@notoc
    
    	// Call libc random. A notoc plt stub should be inserted.
    	bl	random@notoc
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top