Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UInt32Ptr (0.13 sec)

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

    (Load <t> ptr mem) && is64BitInt(t) && !config.BigEndian && !t.IsSigned() =>
    	(Int64Make
    		(Load <typ.UInt32> (OffPtr <typ.UInt32Ptr> [4] ptr) mem)
    		(Load <typ.UInt32> ptr mem))
    
    (Load <t> ptr mem) && is64BitInt(t) && config.BigEndian && t.IsSigned() =>
    	(Int64Make
    		(Load <typ.Int32> ptr mem)
    		(Load <typ.UInt32> (OffPtr <typ.UInt32Ptr> [4] ptr) mem))
    
    (Load <t> ptr mem) && is64BitInt(t) && config.BigEndian && !t.IsSigned() =>
    	(Int64Make
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/config.go

    	Float32    *types.Type
    	Float64    *types.Type
    	UInt       *types.Type
    	Uintptr    *types.Type
    	String     *types.Type
    	BytePtr    *types.Type // TODO: use unsafe.Pointer instead?
    	Int32Ptr   *types.Type
    	UInt32Ptr  *types.Type
    	IntPtr     *types.Type
    	UintptrPtr *types.Type
    	Float32Ptr *types.Type
    	Float64Ptr *types.Type
    	BytePtrPtr *types.Type
    }
    
    // NewTypes creates and populates a Types.
    func NewTypes() *Types {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/MIPS.rules

    	(LoweredAtomicOr (AND <typ.UInt32Ptr> (MOVWconst [^3]) ptr)
    		(SLL <typ.UInt32> (ZeroExt8to32 val)
    			(SLLconst <typ.UInt32> [3]
    				(ANDconst <typ.UInt32> [3] ptr))) mem)
    
    // AtomicAnd8(ptr,val)  =>  LoweredAtomicAnd(ptr&^3,(uint32(val) << ((ptr & 3) * 8)) | ^(uint32(0xFF) << ((ptr & 3) * 8))))
    (AtomicAnd8  ptr val mem) && !config.BigEndian =>
    	(LoweredAtomicAnd (AND <typ.UInt32Ptr> (MOVWconst [^3]) ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 35.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/MIPS64.rules

    	(LoweredAtomicOr32 (AND <typ.UInt32Ptr> (MOVVconst [^3]) ptr)
    		(SLLV <typ.UInt32> (ZeroExt8to32 val)
    			(SLLVconst <typ.UInt64> [3]
    				(ANDconst <typ.UInt64> [3] ptr))) mem)
    
    // AtomicAnd8(ptr,val)  =>  LoweredAtomicAnd32(ptr&^3,(uint32(val) << ((ptr & 3) * 8)) | ^(uint32(0xFF) << ((ptr & 3) * 8))))
    (AtomicAnd8  ptr val mem) && !config.BigEndian =>
    	(LoweredAtomicAnd32 (AND <typ.UInt32Ptr> (MOVVconst [^3]) ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 41.9K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritedec64.go

    	// result: (Int64Make (Load <typ.UInt32> (OffPtr <typ.UInt32Ptr> [4] ptr) mem) (Load <typ.UInt32> ptr mem))
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(is64BitInt(t) && !config.BigEndian && !t.IsSigned()) {
    			break
    		}
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpLoad, typ.UInt32)
    		v1 := b.NewValue0(v.Pos, OpOffPtr, typ.UInt32Ptr)
    		v1.AuxInt = int64ToAuxInt(4)
    		v1.AddArg(ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	// cond: !config.BigEndian
    	// result: (LoweredAtomicOr (AND <typ.UInt32Ptr> (MOVWconst [^3]) ptr) (SLL <typ.UInt32> (ZeroExt8to32 val) (SLLconst <typ.UInt32> [3] (ANDconst <typ.UInt32> [3] ptr))) mem)
    	for {
    		ptr := v_0
    		val := v_1
    		mem := v_2
    		if !(!config.BigEndian) {
    			break
    		}
    		v.reset(OpMIPSLoweredAtomicOr)
    		v0 := b.NewValue0(v.Pos, OpMIPSAND, typ.UInt32Ptr)
    		v1 := b.NewValue0(v.Pos, OpMIPSMOVWconst, typ.UInt32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	// result: (LoweredAtomicOr32 (AND <typ.UInt32Ptr> (MOVVconst [^3]) ptr) (SLLV <typ.UInt32> (ZeroExt8to32 val) (SLLVconst <typ.UInt64> [3] (ANDconst <typ.UInt64> [3] ptr))) mem)
    	for {
    		ptr := v_0
    		val := v_1
    		mem := v_2
    		if !(!config.BigEndian) {
    			break
    		}
    		v.reset(OpMIPS64LoweredAtomicOr32)
    		v0 := b.NewValue0(v.Pos, OpMIPS64AND, typ.UInt32Ptr)
    		v1 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/writebarrier.go

    			// find SB and SP values in entry block
    			initpos := f.Entry.Pos
    			sp, sb = f.spSb()
    			wbsym := f.fe.Syslook("writeBarrier")
    			wbaddr = f.Entry.NewValue1A(initpos, OpAddr, f.Config.Types.UInt32Ptr, wbsym, sb)
    			wbZero = f.fe.Syslook("wbZero")
    			wbMove = f.fe.Syslook("wbMove")
    			if buildcfg.Experiment.CgoCheck2 {
    				cgoCheckPtrWrite = f.fe.Syslook("cgoCheckPtrWrite")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    				var hash *ssa.Value
    				if src.IsEmptyInterface() {
    					hash = s.newValue2(ssa.OpLoad, typs.UInt32, s.newValue1I(ssa.OpOffPtr, typs.UInt32Ptr, rttype.Type.OffsetOf("Hash"), typ), s.mem())
    				} else {
    					hash = s.newValue2(ssa.OpLoad, typs.UInt32, s.newValue1I(ssa.OpOffPtr, typs.UInt32Ptr, rttype.ITab.OffsetOf("Hash"), itab), s.mem())
    				}
    				hash = s.newValue1(zext, typs.Uintptr, hash)
    				s.vars[hashVar] = hash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top