Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for is63bit (0.23 sec)

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

    (MOV(D|W)loadidx ptr (MOVDconst [c]) mem) && ((is16Bit(c) && c%4 == 0) || (buildcfg.GOPPC64 >= 10 && is32Bit(c))) => (MOV(D|W)load [int32(c)] ptr mem)
    (MOV(WZ|H|HZ|BZ)loadidx ptr (MOVDconst [c]) mem) && (is16Bit(c) || (buildcfg.GOPPC64 >= 10 && is32Bit(c))) => (MOV(WZ|H|HZ|BZ)load [int32(c)] ptr mem)
    (MOV(D|W)loadidx (MOVDconst [c]) ptr mem) && ((is16Bit(c) && c%4 == 0) || (buildcfg.GOPPC64 >= 10 && is32Bit(c))) => (MOV(D|W)load [int32(c)] ptr 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/rewritePPC64.go

    	// match: (MOVBZloadidx ptr (MOVDconst [c]) mem)
    	// cond: (is16Bit(c) || (buildcfg.GOPPC64 >= 10 && is32Bit(c)))
    	// result: (MOVBZload [int32(c)] ptr mem)
    	for {
    		ptr := v_0
    		if v_1.Op != OpPPC64MOVDconst {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		mem := v_2
    		if !(is16Bit(c) || (buildcfg.GOPPC64 >= 10 && is32Bit(c))) {
    			break
    		}
    		v.reset(OpPPC64MOVBZload)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  3. src/internal/syscall/unix/siginfo_linux.go

    	Signo       int32
    	siErrnoCode                // Two int32 fields, swapped on MIPS.
    	_           [is64bit]int32 // Extra padding for 64-bit hosts only.
    
    	// End of common part. Beginning of signal-specific part.
    
    	Pid    int32
    	Uid    uint32
    	Status int32
    
    	// Pad to 128 bytes.
    	_ [128 - (6+is64bit)*4]byte
    }
    
    const (
    	// Possible values for SiginfoChild.Code field.
    	_CLD_EXITED    int32 = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 01:23:00 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (MOVHUloadidx ptr (MOVDconst [c]) mem) && is32Bit(c) => (MOVHUload [int32(c)] ptr mem)
    (MOVHUloadidx (MOVDconst [c]) ptr mem) && is32Bit(c) => (MOVHUload [int32(c)] ptr mem)
    (MOVHloadidx  ptr (MOVDconst [c]) mem) && is32Bit(c) => (MOVHload  [int32(c)] ptr mem)
    (MOVHloadidx  (MOVDconst [c]) ptr mem) && is32Bit(c) => (MOVHload  [int32(c)] ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    	n := uint64(uint32(in))
    	return n > 0 && n&(n-1) == 0
    }
    
    // is32Bit reports whether n can be represented as a signed 32 bit integer.
    func is32Bit(n int64) bool {
    	return n == int64(int32(n))
    }
    
    // is16Bit reports whether n can be represented as a signed 16 bit integer.
    func is16Bit(n int64) bool {
    	return n == int64(int16(n))
    }
    
    // is8Bit reports whether n can be represented as a signed 8 bit integer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/macho_update_uuid.go

    	if _, err := io.Copy(outf, exef); err != nil {
    		return err
    	}
    
    	// Locate the portion of the binary containing the load commands.
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	if _, err := outf.Seek(int64(cmdOffset), 0); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// match: (ADDconst [off1] (MOVDaddr [off2] {sym} ptr))
    	// cond: is32Bit(off1+int64(off2))
    	// result: (MOVDaddr [int32(off1)+off2] {sym} ptr)
    	for {
    		off1 := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64MOVDaddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym := auxToSym(v_0.Aux)
    		ptr := v_0.Args[0]
    		if !(is32Bit(off1 + int64(off2))) {
    			break
    		}
    		v.reset(OpARM64MOVDaddr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	textsect := exem.Section("__text")
    	if textsect == nil {
    		return fmt.Errorf("missing __text section")
    	}
    
    	cmdOffset := unsafe.Sizeof(exem.FileHeader)
    	if is64bit := exem.Magic == macho.Magic64; is64bit {
    		// mach_header_64 has one extra uint32.
    		cmdOffset += unsafe.Sizeof(exem.Magic)
    	}
    	dwarfCmdOffset := uint32(cmdOffset) + exem.FileHeader.Cmdsz
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/math/rand/v2/rand.go

    	if n == 0 {
    		panic("invalid argument to Uint64N")
    	}
    	return r.uint64n(n)
    }
    
    // uint64n is the no-bounds-checks version of Uint64N.
    func (r *Rand) uint64n(n uint64) uint64 {
    	if is32bit && uint64(uint32(n)) == n {
    		return uint64(r.uint32n(uint32(n)))
    	}
    	if n&(n-1) == 0 { // n is power of two, can mask
    		return r.Uint64() & (n - 1)
    	}
    
    	// Suppose we have a uint64 x uniform in the range [0,2⁶⁴)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. src/strings/strings_test.go

    		3: {"gopher", 0, ""},
    		4: {"-", -1, "negative"},
    		5: {"--", -102, "negative"},
    		6: {string(make([]byte, 255)), int((^uint(0))/255 + 1), "overflow"},
    	})
    
    	const is64Bit = 1<<(^uintptr(0)>>63)/2 != 0
    	if !is64Bit {
    		return
    	}
    
    	runTestCases("64-bit", []testCase{
    		0: {"-", maxInt, "out of range"},
    	})
    }
    
    func runesEqual(a, b []rune) bool {
    	if len(a) != len(b) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top