Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Pcrel (0.04 sec)

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

    			stub.SetUint32(ctxt.Arch, stub.Size()-4, OP_ADDI_R12_R12) // addi  r12,targ@toc@l(r12)
    
    		// A call from PC relative function.
    		case STUB_PCREL:
    			if buildcfg.GOPPC64 >= 10 {
    				// Set up address of targ in r12, PCrel
    				stub.AddSymRef(ctxt.Arch, r.Sym(), r.Add(), objabi.R_ADDRPOWER_PCREL34, 8)
    				stub.SetUint32(ctxt.Arch, stub.Size()-8, OP_PLA_PFX)
    				stub.SetUint32(ctxt.Arch, stub.Size()-4, OP_PLA_SFX_R12) // pla r12, r
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/decode.go

    	case arg_slabel_imm14_2:
    		imm14 := ((x >> 5) & (1<<14 - 1))
    		return PCRel(((int64(imm14) << 2) << 48) >> 48)
    
    	case arg_slabel_imm19_2:
    		imm19 := ((x >> 5) & (1<<19 - 1))
    		return PCRel(((int64(imm19) << 2) << 43) >> 43)
    
    	case arg_slabel_imm26_2:
    		imm26 := (x & (1<<26 - 1))
    		return PCRel(((int64(imm26) << 2) << 36) >> 36)
    
    	case arg_slabel_immhi_immlo_0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 76.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Fold address into load/store.
    // If power10 with PCRel is not available, then
    // the assembler needs to generate several instructions and use
    // temp register for accessing global, and each time it will reload
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    func hasSmallRotate(c *Config) bool {
    	switch c.arch {
    	case "amd64", "386":
    		return true
    	default:
    		return false
    	}
    }
    
    func supportsPPC64PCRel() bool {
    	// PCRel is currently supported for >= power10, linux only
    	// Internal and external linking supports this on ppc64le; internal linking on ppc64.
    	return buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top