Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for int64ToAuxInt (0.23 sec)

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

    		v3 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v3.AuxInt = int64ToAuxInt(15)
    		v2.AddArg2(n, v3)
    		v4 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v4.AuxInt = int64ToAuxInt(int64(16 - log16(c)))
    		v1.AddArg2(v2, v4)
    		v0.AddArg2(n, v1)
    		v5 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v5.AuxInt = int64ToAuxInt(int64(log16(c)))
    		v.AddArg2(v0, v5)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueS390X_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt32(v.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritedec64.go

    		if !(is64BitInt(t) && !config.BigEndian && t.IsSigned()) {
    			break
    		}
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpLoad, typ.Int32)
    		v1 := b.NewValue0(v.Pos, OpOffPtr, typ.Int32Ptr)
    		v1.AuxInt = int64ToAuxInt(4)
    		v1.AddArg(ptr)
    		v0.AddArg2(v1, mem)
    		v2 := b.NewValue0(v.Pos, OpLoad, typ.UInt32)
    		v2.AddArg2(ptr, mem)
    		v.AddArg2(v0, v2)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		src := v_1
    		mem := v_2
    		v.reset(OpMove)
    		v.AuxInt = int64ToAuxInt(16)
    		v0 := b.NewValue0(v.Pos, OpOffPtr, dst.Type)
    		v0.AuxInt = int64ToAuxInt(16)
    		v0.AddArg(dst)
    		v1 := b.NewValue0(v.Pos, OpOffPtr, src.Type)
    		v1.AuxInt = int64ToAuxInt(16)
    		v1.AddArg(src)
    		v2 := b.NewValue0(v.Pos, OpMove, types.TypeMem)
    		v2.AuxInt = int64ToAuxInt(16)
    		v2.AddArg3(dst, src, mem)
    		v.AddArg3(v0, v1, v2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteMIPS.go

    	for {
    		kind := auxIntToInt64(v.AuxInt)
    		x := v_0
    		y := v_1
    		mem := v_2
    		if !(boundsABI(kind) == 0) {
    			break
    		}
    		v.reset(OpMIPSLoweredPanicBoundsA)
    		v.AuxInt = int64ToAuxInt(kind)
    		v.AddArg3(x, y, mem)
    		return true
    	}
    	// match: (PanicBounds [kind] x y mem)
    	// cond: boundsABI(kind) == 1
    	// result: (LoweredPanicBoundsB [kind] x y mem)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite386.go

    	for {
    		s := auxIntToInt64(v.AuxInt)
    		dst := v_0
    		src := v_1
    		mem := v_2
    		if !(s > 8 && s%4 != 0) {
    			break
    		}
    		v.reset(OpMove)
    		v.AuxInt = int64ToAuxInt(s - s%4)
    		v0 := b.NewValue0(v.Pos, Op386ADDLconst, dst.Type)
    		v0.AuxInt = int32ToAuxInt(int32(s % 4))
    		v0.AddArg(dst)
    		v1 := b.NewValue0(v.Pos, Op386ADDLconst, src.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteARM.go

    		src := v_1
    		mem := v_2
    		if !(s%4 == 0 && s > 4 && s <= 512 && t.Alignment()%4 == 0 && !config.noDuffDevice && logLargeCopy(v, s)) {
    			break
    		}
    		v.reset(OpARMDUFFCOPY)
    		v.AuxInt = int64ToAuxInt(8 * (128 - s/4))
    		v.AddArg3(dst, src, mem)
    		return true
    	}
    	// match: (Move [s] {t} dst src mem)
    	// cond: ((s > 512 || config.noDuffDevice) || t.Alignment()%4 != 0) && logLargeCopy(v, s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	return 0
    }
    func int8ToAuxInt(i int8) int64 {
    	return int64(i)
    }
    func int16ToAuxInt(i int16) int64 {
    	return int64(i)
    }
    func int32ToAuxInt(i int32) int64 {
    	return int64(i)
    }
    func int64ToAuxInt(i int64) int64 {
    	return int64(i)
    }
    func uint8ToAuxInt(i uint8) int64 {
    	return int64(int8(i))
    }
    func float32ToAuxInt(f float32) int64 {
    	return int64(math.Float64bits(float64(f)))
    }
    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