Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for auxIntToInt16 (0.21 sec)

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

    	// result: (Const16 [c+d])
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpConst16 {
    				continue
    			}
    			c := auxIntToInt16(v_0.AuxInt)
    			if v_1.Op != OpConst16 {
    				continue
    			}
    			d := auxIntToInt16(v_1.AuxInt)
    			v.reset(OpConst16)
    			v.AuxInt = int16ToAuxInt(c + d)
    			return true
    		}
    		break
    	}
    	// match: (Add16 <t> (Mul16 x y) (Mul16 x z))
    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/rewrite386.go

    	for {
    		y := auxIntToInt16(v.AuxInt)
    		if v_0.Op != Op386MOVLconst {
    			break
    		}
    		x := auxIntToInt32(v_0.AuxInt)
    		if !(int16(x) < y && uint16(x) > uint16(y)) {
    			break
    		}
    		v.reset(Op386FlagLT_UGT)
    		return true
    	}
    	// match: (CMPWconst (MOVLconst [x]) [y])
    	// cond: int16(x)>y && uint16(x)<uint16(y)
    	// result: (FlagGT_ULT)
    	for {
    		y := auxIntToInt16(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 21:05:46 UTC 2023
    - 262.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		if auxIntToInt16(v.AuxInt) != 0 {
    			break
    		}
    		a := v_0
    		if a.Op != OpAMD64ANDLconst {
    			break
    		}
    		c := auxIntToInt32(a.AuxInt)
    		x := a.Args[0]
    		if !(a.Uses == 1) {
    			break
    		}
    		v.reset(OpAMD64TESTWconst)
    		v.AuxInt = int16ToAuxInt(int16(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPWconst x [0])
    	// result: (TESTW x x)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    	return math.Float64frombits(uint64(i))
    }
    
    func auxIntToBool(i int64) bool {
    	if i == 0 {
    		return false
    	}
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteS390X.go

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

    		v0.AuxInt = int64ToAuxInt(-1)
    		v.AddArg2(x, v0)
    		return true
    	}
    }
    func rewriteValueWasm_OpConst16(v *Value) bool {
    	// match: (Const16 [c])
    	// result: (I64Const [int64(c)])
    	for {
    		c := auxIntToInt16(v.AuxInt)
    		v.reset(OpWasmI64Const)
    		v.AuxInt = int64ToAuxInt(int64(c))
    		return true
    	}
    }
    func rewriteValueWasm_OpConst32(v *Value) bool {
    	// match: (Const32 [c])
    	// result: (I64Const [int64(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		v.AuxInt = int32ToAuxInt(0)
    		v.AddArg(x)
    		return true
    	}
    }
    func rewriteValueMIPS_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVWconst [int32(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpMIPSMOVWconst)
    		v.AuxInt = int32ToAuxInt(int32(val))
    		return true
    	}
    }
    func rewriteValueMIPS_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		v1.AddArg2(y, cond)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVVconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.AddArg2(v0, x)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVVconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueMIPS64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v3.AddArg(v4)
    		v.AddArg2(v0, v3)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
Back to top