Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for FENCE (0.03 sec)

  1. src/cmd/vendor/rsc.io/markdown/code.go

    	return &CodeBlock{p.pos(), "", "", b.text}
    }
    
    type fenceBuilder struct {
    	fence string
    	info  string
    	n     int
    	text  []string
    }
    
    func (c *fenceBuilder) extend(p *parseState, s line) (line, bool) {
    	var fence, info string
    	var n int
    	if t := s; t.trimFence(&fence, &info, &n) && strings.HasPrefix(fence, c.fence) && info == "" {
    		return line{}, false
    	}
    	if !s.trimSpace(c.n, c.n, false) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue9400/asm_riscv64.s

    	// 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
    	MOVW	·Baton(SB), X5
    	OR	X6, X6, X6	// hint that we're in a spin loop
    	BNE	ZERO, X5, loop
    	FENCE
    
    	// Restore stack
    	ADD	$(-1024*8), X2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 659 bytes
    - Viewed (0)
  3. src/runtime/atomic_riscv64.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func publicationBarrier()
    TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	FENCE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 15 07:13:18 UTC 2020
    - 275 bytes
    - Viewed (0)
  4. src/cmd/internal/obj/riscv/anames.go

    	"SRL",
    	"SUB",
    	"SRA",
    	"JAL",
    	"JALR",
    	"BEQ",
    	"BNE",
    	"BLT",
    	"BLTU",
    	"BGE",
    	"BGEU",
    	"LW",
    	"LWU",
    	"LH",
    	"LHU",
    	"LB",
    	"LBU",
    	"SW",
    	"SH",
    	"SB",
    	"FENCE",
    	"FENCETSO",
    	"PAUSE",
    	"ADDIW",
    	"SLLIW",
    	"SRLIW",
    	"SRAIW",
    	"ADDW",
    	"SLLW",
    	"SRLW",
    	"SUBW",
    	"SRAW",
    	"LD",
    	"SD",
    	"MUL",
    	"MULH",
    	"MULHU",
    	"MULHSU",
    	"MULW",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/riscv/asm_test.go

    		t.Errorf("Branch test failed: %v\n%s", err, out)
    	}
    }
    
    func TestPCAlign(t *testing.T) {
    	dir := t.TempDir()
    	tmpfile := filepath.Join(dir, "x.s")
    	asm := `
    TEXT _stub(SB),$0-0
    	FENCE
    	PCALIGN	$8
    	FENCE
    	RET
    `
    	if err := os.WriteFile(tmpfile, []byte(asm), 0644); err != nil {
    		t.Fatal(err)
    	}
    	cmd := exec.Command(testenv.GoToolPath(t), "tool", "asm", "-o", filepath.Join(dir, "x.o"), "-S", tmpfile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:50:18 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_riscv64.s

    TEXT ·Load(SB),NOSPLIT|NOFRAME,$0-12
    	MOV	ptr+0(FP), A0
    	LRW	(A0), A0
    	MOVW	A0, ret+8(FP)
    	RET
    
    // func Load8(ptr *uint8) uint8
    TEXT ·Load8(SB),NOSPLIT|NOFRAME,$0-9
    	MOV	ptr+0(FP), A0
    	FENCE
    	MOVBU	(A0), A1
    	FENCE
    	MOVB	A1, ret+8(FP)
    	RET
    
    // func Load64(ptr *uint64) uint64
    TEXT ·Load64(SB),NOSPLIT|NOFRAME,$0-16
    	MOV	ptr+0(FP), A0
    	LRD	(A0), A0
    	MOV	A0, ret+8(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/runtime/sys_freebsd_riscv64.s

    	MOV	$SYS_exit, T0
    	ECALL
    	WORD	$0	// crash
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT|NOFRAME,$0-8
    	MOV	wait+0(FP), A0
    	// We're done using the stack.
    	FENCE
    	MOVW	ZERO, (A0)
    	FENCE
    	MOV	$0, A0	// exit code
    	MOV	$SYS_thr_exit, T0
    	ECALL
    	JMP	0(PC)
    
    // func open(name *byte, mode, perm int32) int32
    TEXT runtime·open(SB),NOSPLIT|NOFRAME,$0-20
    	MOV	name+0(FP), A0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_riscv64.s

    	MOV	$SYS_exit_group, A7
    	ECALL
    	RET
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT|NOFRAME,$0-8
    	MOV	wait+0(FP), A0
    	// We're done using the stack.
    	FENCE
    	MOVW	ZERO, (A0)
    	FENCE
    	MOV	$0, A0	// exit code
    	MOV	$SYS_exit, A7
    	ECALL
    	JMP	0(PC)
    
    // func open(name *byte, mode, perm int32) int32
    TEXT runtime·open(SB),NOSPLIT|NOFRAME,$0-20
    	MOV	$AT_FDCWD, A0
    	MOV	name+0(FP), A1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. test/prove.go

    			return
    		}
    	}
    	if z < 4 {
    		if uint(z) > 4 { // Not provable without disjunctions.
    			return
    		}
    	}
    }
    
    // fence1–4 correspond to the four fence-post implications.
    
    func fence1(b []int, x, y int) {
    	// Test proofs that rely on fence-post implications.
    	if x+1 > y {
    		if x < y { // ERROR "Disproved Less64$"
    			return
    		}
    	}
    	if len(b) < cap(b) {
    		// This eliminates the growslice path.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/cpu.go

    	AECALL
    	ASCALL
    	AEBREAK
    	ASBREAK
    
    	// 3.2.2: Trap-Return Instructions
    	AMRET
    	ASRET
    	ADRET
    
    	// 3.2.3: Wait for Interrupt
    	AWFI
    
    	// 4.2.1: Supervisor Memory-Management Fence Instruction
    	ASFENCEVMA
    
    	//
    	// RISC-V Bit-Manipulation ISA-extensions (1.0)
    	//
    
    	// 1.1: Address Generation Instructions (Zba)
    	AADDUW
    	ASH1ADD
    	ASH1ADDUW
    	ASH2ADD
    	ASH2ADDUW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top