Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for int64ToAuxInt (0.18 sec)

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

    				continue
    			}
    			m := auxIntToInt64(v_0.AuxInt)
    			x := v_1
    			if !(supportsPPC64PCRel() && (m<<30)>>30 == m) {
    				continue
    			}
    			v.reset(OpPPC64ADDconst)
    			v.AuxInt = int64ToAuxInt(m)
    			v.AddArg(x)
    			return true
    		}
    		break
    	}
    	return false
    }
    func rewriteValuePPC64latelower_OpPPC64AND(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64.go

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

    		v1.AddArg(x)
    		v0.AddArg2(v1, y)
    		v2 := b.NewValue0(v.Pos, OpPPC64MOVDconst, typ.Int64)
    		v2.AuxInt = int64ToAuxInt(0)
    		v3 := b.NewValue0(v.Pos, OpPPC64CMPconst, types.TypeFlags)
    		v3.AuxInt = int64ToAuxInt(0)
    		v4 := b.NewValue0(v.Pos, OpPPC64ANDconst, typ.Int)
    		v4.AuxInt = int64ToAuxInt(0xFFF0)
    		v4.AddArg(y)
    		v3.AddArg(v4)
    		v.AddArg3(v0, v2, v3)
    		return true
    	}
    }
    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/rewritegeneric.go

    		v3 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v3.AuxInt = int64ToAuxInt(15)
    		v2.AddArg2(n, v3)
    		v4 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v4.AuxInt = int64ToAuxInt(int64(16 - log16(c)))
    		v1.AddArg2(v2, v4)
    		v0.AddArg2(n, v1)
    		v5 := b.NewValue0(v.Pos, OpConst64, typ.UInt64)
    		v5.AuxInt = int64ToAuxInt(int64(log16(c)))
    		v.AddArg2(v0, v5)
    		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)
  5. src/cmd/compile/internal/ssa/rewrite.go

    	}
    	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 {
    	return int64(int8(i))
    }
    func float32ToAuxInt(f float32) int64 {
    	return int64(math.Float64bits(float64(f)))
    }
    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