Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 575 for Instruction (0.39 sec)

  1. src/cmd/asm/internal/asm/pseudo_test.go

    		for _, test := range cat.tests {
    			parser.allowABI = cat.allowABI
    			parser.errorCount = 0
    			parser.lineNum++
    			if !parser.pseudo(test.pseudo, tokenize(test.operands)) {
    				t.Fatalf("Wrong pseudo-instruction: %s", test.pseudo)
    			}
    			errorLine := buf.String()
    			if test.expected != errorLine {
    				t.Errorf("Unexpected error %q; expected %q", errorLine, test.expected)
    			}
    			buf.Reset()
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/reflect/abi.go

    )
    
    // abiSeq represents a sequence of ABI instructions for copying
    // from a series of reflect.Values to a call frame (for call arguments)
    // or vice-versa (for call results).
    //
    // An abiSeq should be populated by calling its addArg method.
    type abiSeq struct {
    	// steps is the set of instructions.
    	//
    	// The instructions are grouped together by whole arguments,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/internal/runtime/atomic/atomic_386.s

    	// CX:BX = DX:AX (*addr) + DI:SI (delta)
    	MOVL	AX, BX
    	MOVL	DX, CX
    	ADDL	SI, BX
    	ADCL	DI, CX
    
    	// if *addr == DX:AX {
    	//	*addr = CX:BX
    	// } else {
    	//	DX:AX = *addr
    	// }
    	// all in one instruction
    	LOCK
    	CMPXCHG8B	0(BP)
    
    	JNZ	addloop
    
    	// success
    	// return CX:BX
    	MOVL	BX, ret_lo+12(FP)
    	MOVL	CX, ret_hi+16(FP)
    	RET
    
    TEXT ·Xchg(SB), NOSPLIT, $0-12
    	MOVL	ptr+0(FP), BX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/ppc64/obj9.go

    			break
    		}
    
    		// 32b constants (signed and unsigned) can be generated via 1 or 2 instructions. They can be assembled directly.
    		isS32 := int64(int32(p.From.Offset)) == p.From.Offset
    		isU32 := uint64(uint32(p.From.Offset)) == uint64(p.From.Offset)
    		// If prefixed instructions are supported, a 34b signed constant can be generated by one pli instruction.
    		isS34 := pfxEnabled && (p.From.Offset<<30)>>30 == p.From.Offset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. src/cmd/link/internal/x86/obj.go

    	arch := sys.Arch386
    
    	theArch := ld.Arch{
    		Funcalign:  funcAlign,
    		Maxalign:   maxAlign,
    		Minalign:   minAlign,
    		Dwarfregsp: dwarfRegSP,
    		Dwarfreglr: dwarfRegLR,
    		// 0xCC is INT $3 - breakpoint instruction
    		CodePad: []byte{0xCC},
    
    		Plan9Magic: uint32(4*11*11 + 7),
    
    		Adddynrel:        adddynrel,
    		Archinit:         archinit,
    		Archreloc:        archreloc,
    		Archrelocvariant: archrelocvariant,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/loong64/asm.go

    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    		return false
    	}
    	// If p is a multi-instruction sequence with uses REGTMP inserted by
    	// the assembler in order to materialize a large constant/offset, we
    	// can restart p (at the start of the instruction sequence), recompute
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/arm64/asm7.go

    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt7) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    		return false
    	}
    	// If p is a multi-instruction sequence with uses REGTMP inserted by
    	// the assembler in order to materialize a large constant/offset, we
    	// can restart p (at the start of the instruction sequence), recompute
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/mips/asm0.go

    // isRestartable returns whether p is a multi-instruction sequence that,
    // if preempted, can be restarted.
    func (c *ctxt0) isRestartable(p *obj.Prog) bool {
    	if c.isUnsafePoint(p) {
    		return false
    	}
    	// If p is a multi-instruction sequence with uses REGTMP inserted by
    	// the assembler in order to materialize a large constant/offset, we
    	// can restart p (at the start of the instruction sequence), recompute
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 53.6K bytes
    - Viewed (0)
  9. src/runtime/symtab.go

    				ci.frames = append(ci.frames, expandCgoFrames(pc)...)
    			}
    			continue
    		}
    		f := funcInfo._Func()
    		entry := f.Entry()
    		if pc > entry {
    			// We store the pc of the start of the instruction following
    			// the instruction in question (the call or the inline mark).
    			// This is done for historical reasons, and to make FuncForPC
    			// work correctly for entries in the result of runtime.Callers.
    			pc--
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/asm_test.go

    }
    
    func x() uint64
    `
    	if err := os.WriteFile(filepath.Join(dir, "x.go"), []byte(main), 0644); err != nil {
    		t.Fatalf("failed to write main: %v\n", err)
    	}
    
    	// Generate a very large jump instruction.
    	buf := bytes.NewBuffer(make([]byte, 0, 7000000))
    	genLargeJump(buf)
    
    	if err := os.WriteFile(filepath.Join(dir, "x.s"), buf.Bytes(), 0644); err != nil {
    		t.Fatalf("Failed to write file: %v\n", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 01:50:18 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top