- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 418 for clobber (0.12 sec)
-
test/fixedbugs/issue16985.go
// run // Copyright 2016 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 16985: intrinsified AMD64 atomic ops should clobber flags package main import "sync/atomic" var count uint32 func main() { buffer := []byte("T") for i := 0; i < len(buffer); { atomic.AddUint32(&count, 1) _ = buffer[i] i++ i++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 14:26:18 UTC 2016 - 625 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_arm.s
MOVW $0xffff0fc0, R15 // R15 is PC TEXT ·RewindAndSetgid(SB),NOSPLIT|NOFRAME,$0-0 // Save link register MOVW R14, R4 // Rewind stack pointer so anything that happens on the stack // will clobber the test pattern created by the caller ADD $(1024 * 8), R13 // Ask signaller to setgid MOVW $·Baton(SB), R2 storeloop: MOVW 0(R2), R0 MOVW $1, R1 BL cas<>(SB) BCC storeloop
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 758 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64.rules
(MOVBQZX x:(MOVBload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem) (MOVBQZX x:(MOVWload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem) (MOVBQZX x:(MOVLload [off] {sym} ptr mem)) && x.Uses == 1 && clobber(x) => @x.Block (MOVBload <v.Type> [off] {sym} ptr mem)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 19:38:41 UTC 2024 - 93.9K bytes - Viewed (0) -
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) -
test/fixedbugs/issue26426.go
// license that can be found in the LICENSE file. package main //go:noinline func f(p *int, v int, q1, q2 *int, r *bool) { x := *r if x { *q1 = 1 } *p = *p + v // This must clobber flags. Otherwise we keep x in a flags register. if x { *q2 = 1 } } func main() { var p int var q1, q2 int var b bool f(&p, 1, &q1, &q2, &b) if q1 != 0 || q2 != 0 { panic("bad") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 19 16:24:53 UTC 2018 - 499 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue9400/asm_mipsx.s
//go:build (mips || mipsle) && 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 ADDU $(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 May 12 12:00:02 UTC 2023 - 663 bytes - Viewed (0) -
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) -
test/fixedbugs/issue5820.go
// run // Copyright 2013 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 5820: register clobber when clearfat and 64 bit arithmetic is interleaved. package main func main() { array := make([][]int, 2) index := uint64(1) array[index] = nil if array[1] != nil { panic("array[1] != nil") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 402 bytes - Viewed (0) -
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) -
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)