Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Pcrel (0.09 sec)

  1. 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)
  2. src/cmd/link/internal/ld/data.go

    // a call to PLT.
    func isPLTCall(rt objabi.RelocType) bool {
    	const pcrel = 1
    	switch rt {
    	// ARM64
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_CALL26),
    		objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_JUMP26),
    		objabi.MachoRelocOffset + MACHO_ARM64_RELOC_BRANCH26*2 + pcrel:
    		return true
    
    	// ARM
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_ARM_CALL),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
  3. src/cmd/internal/obj/ppc64/obj9.go

    				p.From.Sym.Set(obj.AttrNoSplit, true)
    			}
    
    			p.To.Offset = int64(autosize)
    
    			q = p
    
    			if NeedTOCpointer(c.ctxt) && !isNOTOCfunc(c.cursym.Name) {
    				// When compiling Go into PIC, without PCrel support, all functions must start
    				// with instructions to load the TOC pointer into r2:
    				//
    				//	addis r2, r12, .TOC.-func@ha
    				//	addi r2, r2, .TOC.-func@l+4
    				//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  4. 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)
  5. 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