Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for int16ToAuxInt (0.25 sec)

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

    					v2 := b.NewValue0(v.Pos, OpConst16, typ.UInt16)
    					v2.AuxInt = int16ToAuxInt(int16(udivisible16(c).m))
    					v1.AddArg2(v2, x)
    					v3 := b.NewValue0(v.Pos, OpConst16, typ.UInt16)
    					v3.AuxInt = int16ToAuxInt(int16(16 - udivisible16(c).k))
    					v0.AddArg2(v1, v3)
    					v4 := b.NewValue0(v.Pos, OpConst16, typ.UInt16)
    					v4.AuxInt = int16ToAuxInt(int16(udivisible16(c).max))
    					v.AddArg2(v0, v4)
    					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/rewriteAMD64.go

    	// result: (CMPWconst x [int16(c)])
    	for {
    		x := v_0
    		if v_1.Op != OpAMD64MOVLconst {
    			break
    		}
    		c := auxIntToInt32(v_1.AuxInt)
    		v.reset(OpAMD64CMPWconst)
    		v.AuxInt = int16ToAuxInt(int16(c))
    		v.AddArg(x)
    		return true
    	}
    	// match: (CMPW (MOVLconst [c]) x)
    	// result: (InvertFlags (CMPWconst x [int16(c)]))
    	for {
    		if v_0.Op != OpAMD64MOVLconst {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    func auxIntToOp(cc int64) Op {
    	return Op(cc)
    }
    
    func boolToAuxInt(b bool) int64 {
    	if b {
    		return 1
    	}
    	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 {
    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