Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for op (0.08 sec)

  1. src/cmd/link/internal/arm64/asm.go

    	"fmt"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    	// 0000000000000000 <local.dso_init>:
    	// 0:	90000000 	adrp	x0, 0 <runtime.firstmoduledata>
    	// 	0: R_AARCH64_ADR_PREL_PG_HI21	local.moduledata
    	// 4:	91000000 	add	x0, x0, #0x0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ppc64/asm.go

    	su.MakeWritable()
    	op := target.Arch.ByteOrder.Uint32(su.Data()[offset:])
    	if op&mask != check {
    		ldr.Errorf(su.Sym(), "Rewrite offset 0x%x to 0x%08X failed check (0x%08X&0x%08X != 0x%08X)", offset, newinsn, op, mask, check)
    	}
    	su.SetUint32(target.Arch, offset, newinsn)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    	// Parse left to right.
    	op := operands[next]
    	if len(op) < 2 || op[0].ScanToken != '$' {
    		p.errorf("TEXT %s: frame size must be an immediate constant", name)
    		return
    	}
    	op = op[1:]
    	negative := false
    	if op[0].ScanToken == '-' {
    		negative = true
    		op = op[1:]
    	}
    	if len(op) == 0 || op[0].ScanToken != scanner.Int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. src/cmd/link/internal/amd64/asm.go

    	// Consult an AMD64 instruction encoding guide to decipher this.
    	if off < 3 {
    		log.Fatal("R_X86_64_GOTTPOFF reloc not preceded by MOVQ or ADDQ instruction")
    	}
    	op := P[off-3 : off]
    	reg := op[2] >> 3
    
    	if op[1] == 0x8b || reg == 4 {
    		// MOVQ
    		if op[0] == 0x4c {
    			op[0] = 0x49
    		} else if size == 4 && op[0] == 0x44 {
    			op[0] = 0x41
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/loong64/asm.go

    		}
    		a3--
    	}
    
    	ops := oprange[p.As&obj.AMask]
    	c1 := &xcmp[a1]
    	c4 := &xcmp[a4]
    	for i := range ops {
    		op := &ops[i]
    		if (int(op.reg) == a2) && int(op.from3) == a3 && c1[op.from1] && c4[op.to1] && (int(op.to2) == a5) {
    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			return op
    		}
    	}
    
    	c.ctxt.Diag("illegal combination %v %v %v %v %v %v", p.As, DRconv(a1), DRconv(a2), DRconv(a3), DRconv(a4), DRconv(a5))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/x86/asm.go

    		{"bp", 5},
    		{"si", 6},
    		{"di", 7},
    	} {
    		thunkfunc := ldr.CreateSymForUpdate("__x86.get_pc_thunk."+r.name, 0)
    		thunkfunc.SetType(sym.STEXT)
    		ldr.SetAttrLocal(thunkfunc.Sym(), true)
    		o := func(op ...uint8) {
    			for _, op1 := range op {
    				thunkfunc.AddUint8(op1)
    			}
    		}
    		// 8b 04 24	mov    (%esp),%eax
    		// Destination register is in bits 3-5 of the middle byte, so add that in.
    		o(0x8b, 0x04+r.num<<3, 0x24)
    		// c3		ret
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loong64/asm.go

    	"debug/elf"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    
    	// Emit the following function:
    	//
    	//	local.dso_init:
    	//		la.pcrel $a0, local.moduledata
    	//		b runtime.addmoduledata
    
    	//	0000000000000000 <local.dso_init>:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/arm/asm.go

    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    	o(0xe59f0004)
    	o(0xe08f0000)
    
    	o(0xeafffffe)
    	rel, _ := initfunc.AddRel(objabi.R_CALLARM)
    	rel.SetOff(8)
    	rel.SetSiz(4)
    	rel.SetSym(addmoduledata)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
Back to top