Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for auxIntToInt64 (0.39 sec)

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

    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		z := v_0
    		if z.Op != OpPPC64CNTLZD {
    			break
    		}
    		if !(v.Block == z.Block) {
    			break
    		}
    		v.reset(OpPPC64CMPconst)
    		v.AuxInt = int64ToAuxInt(0)
    		v.AddArg(convertPPC64OpToOpCC(z))
    		return true
    	}
    	// match: (CMPconst [0] z:(RLDICL x))
    	// cond: v.Block == z.Block
    	// result: (CMPconst [0] convertPPC64OpToOpCC(z))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

    	// result: (REV16 x)
    	for {
    		if auxIntToInt64(v.AuxInt) != 8 || v_0.Op != OpARM64SRLconst || auxIntToInt64(v_0.AuxInt) != 8 {
    			break
    		}
    		v_0_0 := v_0.Args[0]
    		if v_0_0.Op != OpARM64ANDconst {
    			break
    		}
    		c1 := auxIntToInt64(v_0_0.AuxInt)
    		x := v_0_0.Args[0]
    		if v_1.Op != OpARM64ANDconst {
    			break
    		}
    		c2 := auxIntToInt64(v_1.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    			z := v_0.Args[1]
    			if z.Op != OpConst64 {
    				continue
    			}
    			c := auxIntToInt64(z.AuxInt)
    			if v_1.Op != OpRsh16Ux64 {
    				continue
    			}
    			_ = v_1.Args[1]
    			if x != v_1.Args[0] {
    				continue
    			}
    			v_1_1 := v_1.Args[1]
    			if v_1_1.Op != OpConst64 {
    				continue
    			}
    			d := auxIntToInt64(v_1_1.AuxInt)
    			if !(c < 16 && d == 16-c && canRotate(config, 16)) {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    	// result: (ANDconst [c&d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpPPC64ANDconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpPPC64ANDconst)
    		v.AuxInt = int64ToAuxInt(c & d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ANDconst [-1] x)
    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != -1 {
    			break
    		}
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	// result: x
    	for {
    		if auxIntToInt64(v.AuxInt) != 0 {
    			break
    		}
    		x := v_0
    		v.copyOf(x)
    		return true
    	}
    	// match: (ADDI [x] (MOVDconst [y]))
    	// cond: is32Bit(x + y)
    	// result: (MOVDconst [x + y])
    	for {
    		x := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpRISCV64MOVDconst {
    			break
    		}
    		y := auxIntToInt64(v_0.AuxInt)
    		if !(is32Bit(x + y)) {
    			break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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