Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AuxInt (0.26 sec)

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

    	// result: (MOVLconst [c+d])
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64MOVLconst {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		v.reset(OpAMD64MOVLconst)
    		v.AuxInt = int32ToAuxInt(c + d)
    		return true
    	}
    	// match: (ADDLconst [c] (ADDLconst [d] x))
    	// result: (ADDLconst [c+d] x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpAMD64ADDLconst {
    			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)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    	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))
    	// result: (Mul16 x (Add16 <t> y 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)
  3. src/cmd/compile/internal/ssa/rewriteARM64.go

    		x := v_0.Args[0]
    		v.reset(OpARM64ADDconst)
    		v.AuxInt = int64ToAuxInt(c + d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (ADDconst [c] (SUBconst [d] x))
    	// result: (ADDconst [c-d] x)
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64SUBconst {
    			break
    		}
    		d := auxIntToInt64(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpARM64ADDconst)
    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