Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for auxIntToInt16 (0.15 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/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)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AddArg3(x, y, v0)
    		return true
    	}
    	return false
    }
    func rewriteValuePPC64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpPPC64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValuePPC64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteARM64.go

    		return true
    	}
    	return false
    }
    func rewriteValueARM64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpARM64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueARM64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
Back to top