Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for is32Bit (0.48 sec)

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

    	v_0 := v.Args[0]
    	// match: (ADCQ x (MOVQconst [c]) carry)
    	// cond: is32Bit(c)
    	// result: (ADCQconst x [int32(c)] carry)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpAMD64MOVQconst {
    				continue
    			}
    			c := auxIntToInt64(v_1.AuxInt)
    			carry := v_2
    			if !(is32Bit(c)) {
    				continue
    			}
    			v.reset(OpAMD64ADCQconst)
    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/rewriteARM64.go

    	// match: (ADDconst [off1] (MOVDaddr [off2] {sym} ptr))
    	// cond: is32Bit(off1+int64(off2))
    	// result: (MOVDaddr [int32(off1)+off2] {sym} ptr)
    	for {
    		off1 := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpARM64MOVDaddr {
    			break
    		}
    		off2 := auxIntToInt32(v_0.AuxInt)
    		sym := auxToSym(v_0.Aux)
    		ptr := v_0.Args[0]
    		if !(is32Bit(off1 + int64(off2))) {
    			break
    		}
    		v.reset(OpARM64MOVDaddr)
    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

    	typ := &b.Func.Config.Types
    	// match: (PtrIndex <t> ptr idx)
    	// cond: config.PtrSize == 4 && is32Bit(t.Elem().Size())
    	// result: (AddPtr ptr (Mul32 <typ.Int> idx (Const32 <typ.Int> [int32(t.Elem().Size())])))
    	for {
    		t := v.Type
    		ptr := v_0
    		idx := v_1
    		if !(config.PtrSize == 4 && is32Bit(t.Elem().Size())) {
    			break
    		}
    		v.reset(OpAddPtr)
    		v0 := b.NewValue0(v.Pos, OpMul32, typ.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top