Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for auxIntToInt64 (0.33 sec)

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

    	typ := &b.Func.Config.Types
    	// match: (Move [0] _ _ mem)
    	// result: mem
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		mem := v_2
    		v.copyOf(mem)
    		return true
    	}
    	// match: (Move [1] dst src mem)
    	// result: (MOVBstore dst (MOVBUload src mem) mem)
    	for {
    		if auxIntToInt64(v.AuxInt) != 1 {
    			break
    		}
    		dst := v_0
    		src := v_1
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteS390X.go

    	// result: (ANDconst [c&d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpS390XANDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpS390XANDconst)
    		v.AuxInt = int64ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDconst [0] _)
    	// result: (MOVDconst [0])
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    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/rewriteARM64latelower.go

    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ADDSconstflags [c] x)
    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// match: (CMPQ (MOVQconst [x]) (MOVQconst [y]))
    	// cond: x==y
    	// result: (FlagEQ)
    	for {
    		if v_0.Op != OpAMD64MOVQconst {
    			break
    		}
    		x := auxIntToInt64(v_0.AuxInt)
    		if v_1.Op != OpAMD64MOVQconst {
    			break
    		}
    		y := auxIntToInt64(v_1.AuxInt)
    		if !(x == y) {
    			break
    		}
    		v.reset(OpAMD64FlagEQ)
    		return true
    	}
    	// match: (CMPQ (MOVQconst [x]) (MOVQconst [y]))
    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/rewrite386.go

    	typ := &b.Func.Config.Types
    	// match: (Move [0] _ _ mem)
    	// result: mem
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		mem := v_2
    		v.copyOf(mem)
    		return true
    	}
    	// match: (Move [1] dst src mem)
    	// result: (MOVBstore dst (MOVBload src mem) mem)
    	for {
    		if auxIntToInt64(v.AuxInt) != 1 {
    			break
    		}
    		dst := v_0
    		src := v_1
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteARM.go

    	// match: (Move [0] _ _ mem)
    	// result: mem
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		mem := v_2
    		v.copyOf(mem)
    		return true
    	}
    	// match: (Move [1] dst src mem)
    	// result: (MOVBstore dst (MOVBUload src mem) mem)
    	for {
    		if auxIntToInt64(v.AuxInt) != 1 {
    			break
    		}
    		dst := v_0
    		src := v_1
    		mem := v_2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewritedec64.go

    	typ := &b.Func.Config.Types
    	// match: (Const64 <t> [c])
    	// cond: t.IsSigned()
    	// result: (Int64Make (Const32 <typ.Int32> [int32(c>>32)]) (Const32 <typ.UInt32> [int32(c)]))
    	for {
    		t := v.Type
    		c := auxIntToInt64(v.AuxInt)
    		if !(t.IsSigned()) {
    			break
    		}
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpConst32, typ.Int32)
    		v0.AuxInt = int32ToAuxInt(int32(c >> 32))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewrite.go

    	return true
    }
    func auxIntToInt8(i int64) int8 {
    	return int8(i)
    }
    func auxIntToInt16(i int64) int16 {
    	return int16(i)
    }
    func auxIntToInt32(i int64) int32 {
    	return int32(i)
    }
    func auxIntToInt64(i int64) int64 {
    	return i
    }
    func auxIntToUint8(i int64) uint8 {
    	return uint8(i)
    }
    func auxIntToFloat32(i int64) float32 {
    	return float32(math.Float64frombits(uint64(i)))
    }
    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