Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Pcrel (0.03 sec)

  1. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/inst.go

    const (
    	SpRegZero SpReg = 0
    )
    
    func (SpReg) IsArg() {}
    func (s SpReg) String() string {
    	return fmt.Sprintf("SpReg(%d)", int(s))
    }
    
    // PCRel is a PC-relative offset, used only in branch instructions.
    type PCRel int32
    
    func (PCRel) IsArg() {}
    func (r PCRel) String() string {
    	return fmt.Sprintf("PC%+#x", int32(r))
    }
    
    // A Label is a code (text) address, used only in absolute branch instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 03 01:35:44 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm/armasm/inst.go

    	return fmt.Sprintf("%s %s %s", r.Reg, r.Shift, r.RegCount)
    }
    
    // A PCRel describes a memory address (usually a code label)
    // as a distance relative to the program counter.
    // TODO(rsc): Define which program counter (PC+4? PC+8? PC?).
    type PCRel int32
    
    func (PCRel) IsArg() {}
    
    func (r PCRel) String() string {
    	return fmt.Sprintf("PC%+#x", int32(r))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 22:23:32 UTC 2017
    - 7.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go

    		return SpReg(a.BitFields.Parse(i))
    	case TypeImmSigned:
    		return Imm(a.BitFields.ParseSigned(i) << a.Shift)
    	case TypeImmUnsigned:
    		return Imm(a.BitFields.Parse(i) << a.Shift)
    	case TypePCRel:
    		return PCRel(a.BitFields.ParseSigned(i) << a.Shift)
    	case TypeLabel:
    		return Label(a.BitFields.ParseSigned(i) << a.Shift)
    	case TypeOffset:
    		return Offset(a.BitFields.ParseSigned(i) << a.Shift)
    	case TypeNegOffset:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/arch/arm/armasm/gnu.go

    		case AddrLDM:
    			if X == "#0" {
    				return R
    			}
    		case AddrLDM_WB:
    			if X == "#0" {
    				return R + "!"
    			}
    		}
    		return fmt.Sprintf("[%s Mode(%d) %s]", R, int(arg.Mode), X)
    
    	case PCRel:
    		return fmt.Sprintf(".%+#x", int32(arg)+4)
    
    	case Reg:
    		switch inst.Op &^ 15 {
    		case LDREX_EQ:
    			if argIndex == 0 {
    				return fmt.Sprintf("r%d", int32(arg))
    			}
    		}
    		switch arg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 14 17:21:52 UTC 2016
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    //
    // TOC   -> dynamic:              A PLT call stub is generated which saves R2.
    //                                 TOC save slot is rewritten to restore TOC.
    // NOTOC -> dynamic [P10]:        A stub using pcrel instructions is generated.
    // NOTOC -> dynamic [P8/default]: A P8 compatible, non-PIC stub is generated
    // NOTOC -> dynamic [P8/pie]:     A P8 compatible, PIC stub is generated
    //
    //
    // Some notes about other cases:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND <t> x:(MOVDconst [m]) n) && t.Size() == 4 && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(0,m,32)] n)
    
    // When PCRel is supported, paddi can add a 34b signed constant in one instruction.
    (ADD (MOVDconst [m]) x) && supportsPPC64PCRel() && (m<<30)>>30 == m => (ADDconst [m] x)
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loong64/asm.go

    	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>:
    	//	0:	1a000004	pcalau12i	$a0, 0
    	//				0: R_LARCH_PCALA_HI20	local.moduledata
    	o(0x1a000004)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top