Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for biton64 (0.26 sec)

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

    		v.AddArg(v0)
    		return true
    	}
    	return false
    }
    func rewriteValueAMD64_OpBitLen64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (BitLen64 <t> x)
    	// cond: buildcfg.GOAMD64 < 3
    	// result: (ADDQconst [1] (CMOVQEQ <t> (Select0 <t> (BSRQ x)) (MOVQconst <t> [-1]) (Select1 <types.TypeFlags> (BSRQ x))))
    	for {
    		t := v.Type
    		x := v_0
    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

    		v1.AddArg(x)
    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueARM64_OpBitLen64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (BitLen64 x)
    	// result: (SUB (MOVDconst [64]) (CLZ <typ.Int> x))
    	for {
    		x := v_0
    		v.reset(OpARM64SUB)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    		v0.AuxInt = int64ToAuxInt(64)
    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