Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for supportsPPC64PCRel (0.15 sec)

  1. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    // Fold offsets for stores.
    (MOV(D|W|H|B)store [off1] {sym} (ADDconst [off2] x) val mem) && (is16Bit(int64(off1)+off2) || (supportsPPC64PCRel() && is32Bit(int64(off1)+off2))) => (MOV(D|W|H|B)store [off1+int32(off2)] {sym} x val mem)
    
    (FMOV(S|D)store [off1] {sym} (ADDconst [off2] ptr) val mem) && (is16Bit(int64(off1)+off2) || (supportsPPC64PCRel() && is32Bit(int64(off1)+off2))) => (FMOV(S|D)store [off1+int32(off2)] {sym} ptr val mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. 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