Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for int64ToAuxInt (0.31 sec)

  1. src/cmd/compile/internal/ssa/rewritedec.go

    		v1 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v2 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    		v2.AuxInt = int64ToAuxInt(config.PtrSize)
    		v2.AddArg(ptr)
    		v1.AddArg2(v2, mem)
    		v3 := b.NewValue0(v.Pos, OpLoad, typ.Int)
    		v4 := b.NewValue0(v.Pos, OpOffPtr, typ.IntPtr)
    		v4.AuxInt = int64ToAuxInt(2 * config.PtrSize)
    		v4.AddArg(ptr)
    		v3.AddArg2(v4, mem)
    		v.AddArg3(v0, v1, v3)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritePPC64latelower.go

    				continue
    			}
    			m := auxIntToInt64(v_0.AuxInt)
    			x := v_1
    			if !(supportsPPC64PCRel() && (m<<30)>>30 == m) {
    				continue
    			}
    			v.reset(OpPPC64ADDconst)
    			v.AuxInt = int64ToAuxInt(m)
    			v.AddArg(x)
    			return true
    		}
    		break
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64AND(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v0.AuxInt = int64ToAuxInt(0)
    		v.AddArg2(v0, x)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpCom8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Com8 x)
    	// result: (NOR (MOVVconst [0]) x)
    	for {
    		x := v_0
    		v.reset(OpLOONG64NOR)
    		v0 := b.NewValue0(v.Pos, OpLOONG64MOVVconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(0)
    		v.AddArg2(v0, x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteRISCV64latelower.go

    		if v_0.Op != OpRISCV64MOVBUreg {
    			break
    		}
    		x := v_0.Args[0]
    		if !(c <= 56) {
    			break
    		}
    		v.reset(OpRISCV64SRLI)
    		v.AuxInt = int64ToAuxInt(56 - c)
    		v0 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(56)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    	// match: (SLLI [c] (MOVHUreg x))
    	// cond: c <= 48
    	// result: (SRLI [48-c] (SLLI <typ.UInt64> [48] x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v7 := b.NewValue0(v.Pos, OpMIPS64XORconst, typ.UInt64)
    		v7.AuxInt = int64ToAuxInt(3)
    		v7.AddArg(ptr)
    		v6.AddArg(v7)
    		v5.AddArg(v6)
    		v3.AddArg2(v4, v5)
    		v8 := b.NewValue0(v.Pos, OpMIPS64NORconst, typ.UInt64)
    		v8.AuxInt = int64ToAuxInt(0)
    		v9 := b.NewValue0(v.Pos, OpMIPS64SLLV, typ.UInt64)
    		v10 := b.NewValue0(v.Pos, OpMIPS64MOVVconst, typ.UInt64)
    		v10.AuxInt = int64ToAuxInt(0xff)
    		v9.AddArg2(v10, v5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v0.AuxInt = int64ToAuxInt(^3)
    		v0.AddArg(ptr)
    		v1 := b.NewValue0(v.Pos, OpRISCV64SLL, typ.UInt32)
    		v2 := b.NewValue0(v.Pos, OpZeroExt8to32, typ.UInt32)
    		v2.AddArg(val)
    		v3 := b.NewValue0(v.Pos, OpRISCV64SLLI, typ.UInt64)
    		v3.AuxInt = int64ToAuxInt(3)
    		v4 := b.NewValue0(v.Pos, OpRISCV64ANDI, typ.UInt64)
    		v4.AuxInt = int64ToAuxInt(3)
    		v4.AddArg(ptr)
    		v3.AddArg(v4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteWasm.go

    		destptr := v_0
    		mem := v_1
    		v.reset(OpWasmI64Store)
    		v.AuxInt = int64ToAuxInt(24)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    		v0.AuxInt = int64ToAuxInt(0)
    		v1 := b.NewValue0(v.Pos, OpWasmI64Store, types.TypeMem)
    		v1.AuxInt = int64ToAuxInt(16)
    		v2 := b.NewValue0(v.Pos, OpWasmI64Store, types.TypeMem)
    		v2.AuxInt = int64ToAuxInt(8)
    		v3 := b.NewValue0(v.Pos, OpWasmI64Store, types.TypeMem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v.reset(OpARM64MOVDconst)
    		v.AuxInt = int64ToAuxInt(c + d)
    		return true
    	}
    	// match: (ADDconst [c] (ADDconst [d] x))
    	// result: (ADDconst [c+d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64ADDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpARM64ADDconst)
    		v.AuxInt = int64ToAuxInt(c + d)
    		v.AddArg(x)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    		v4.AuxInt = int64ToAuxInt(0xFFF0)
    		v4.AddArg(y)
    		v3.AddArg(v4)
    		v.AddArg3(v0, v2, v3)
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(c)
    		v.AddArg2(x, v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM64latelower_OpARM64ADDconst(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top