Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for is32Bit (0.33 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	v_0 := v.Args[0]
    	// match: (ADDV x (MOVVconst <t> [c]))
    	// cond: is32Bit(c) && !t.IsPtr()
    	// result: (ADDVconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpLOONG64MOVVconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt64(v_1.AuxInt)
    			if !(is32Bit(c) && !t.IsPtr()) {
    				continue
    			}
    			v.reset(OpLOONG64ADDVconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	v_0 := v.Args[0]
    	// match: (ADDV x (MOVVconst <t> [c]))
    	// cond: is32Bit(c) && !t.IsPtr()
    	// result: (ADDVconst [c] x)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpMIPS64MOVVconst {
    				continue
    			}
    			t := v_1.Type
    			c := auxIntToInt64(v_1.AuxInt)
    			if !(is32Bit(c) && !t.IsPtr()) {
    				continue
    			}
    			v.reset(OpMIPS64ADDVconst)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// match: (OffPtr [off] ptr:(SP))
    	// cond: is32Bit(off)
    	// result: (MOVaddr [int32(off)] ptr)
    	for {
    		off := auxIntToInt64(v.AuxInt)
    		ptr := v_0
    		if ptr.Op != OpSP || !(is32Bit(off)) {
    			break
    		}
    		v.reset(OpRISCV64MOVaddr)
    		v.AuxInt = int32ToAuxInt(int32(off))
    		v.AddArg(ptr)
    		return true
    	}
    	// match: (OffPtr [off] ptr)
    	// cond: is32Bit(off)
    	// result: (ADDI [off] ptr)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    (OffPtr (OffPtr p [y]) [x]) => (OffPtr p [x+y])
    (OffPtr p [0]) && v.Type.Compare(p.Type) == types.CMPeq => p
    
    // indexing operations
    // Note: bounds check has already been done
    (PtrIndex <t> ptr idx) && config.PtrSize == 4 && is32Bit(t.Elem().Size()) => (AddPtr ptr (Mul32 <typ.Int> idx (Const32 <typ.Int> [int32(t.Elem().Size())])))
    (PtrIndex <t> ptr idx) && config.PtrSize == 8 => (AddPtr ptr (Mul64 <typ.Int> idx (Const64 <typ.Int> [t.Elem().Size()])))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteWasm.go

    	// match: (I64AddConst [off] (LoweredAddr {sym} [off2] base))
    	// cond: isU32Bit(off+int64(off2))
    	// result: (LoweredAddr {sym} [int32(off)+off2] base)
    	for {
    		off := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpWasmLoweredAddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym := auxToSym(v_0.Aux)
    		base := v_0.Args[0]
    		if !(isU32Bit(off + int64(off2))) {
    			break
    		}
    		v.reset(OpWasmLoweredAddr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
Back to top