Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Ctz8 (0.08 sec)

  1. src/cmd/compile/internal/ssa/_gen/Wasm.rules

    (Copysign ...) => (F64Copysign ...)
    
    (Sqrt32 ...) => (F32Sqrt ...)
    
    (Ctz64 ...) => (I64Ctz ...)
    (Ctz32 x) => (I64Ctz (I64Or x (I64Const [0x100000000])))
    (Ctz16 x) => (I64Ctz (I64Or x (I64Const [0x10000])))
    (Ctz8  x) => (I64Ctz (I64Or x (I64Const [0x100])))
    
    (Ctz(64|32|16|8)NonZero ...) => (I64Ctz ...)
    
    (BitLen64 x) => (I64Sub (I64Const [64]) (I64Clz x))
    
    (PopCount64 ...) => (I64Popcnt ...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Neg64F", argLength: 1},
    
    	{name: "Com8", argLength: 1}, // ^arg0
    	{name: "Com16", argLength: 1},
    	{name: "Com32", argLength: 1},
    	{name: "Com64", argLength: 1},
    
    	{name: "Ctz8", argLength: 1},         // Count trailing (low order) zeroes (returns 0-8)
    	{name: "Ctz16", argLength: 1},        // Count trailing (low order) zeroes (returns 0-16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Ctz8  (Const8  [c])) && config.PtrSize == 4 => (Const32 [int32(ntz8(c))])
    
    (Ctz64 (Const64 [c])) && config.PtrSize == 8 => (Const64 [int64(ntz64(c))])
    (Ctz32 (Const32 [c])) && config.PtrSize == 8 => (Const64 [int64(ntz32(c))])
    (Ctz16 (Const16 [c])) && config.PtrSize == 8 => (Const64 [int64(ntz16(c))])
    (Ctz8  (Const8  [c])) && config.PtrSize == 8 => (Const64 [int64(ntz8(c))])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM.rules

    (Ctz16 <t> x) && buildcfg.GOARM.Version<=6 =>
    	(RSBconst [32] (CLZ <t> (SUBconst <typ.UInt32> (AND <typ.UInt32> (ORconst <typ.UInt32> [0x10000] x) (RSBconst <typ.UInt32> [0] (ORconst <typ.UInt32> [0x10000] x))) [1])))
    (Ctz8 <t> x) && buildcfg.GOARM.Version<=6 =>
    	(RSBconst [32] (CLZ <t> (SUBconst <typ.UInt32> (AND <typ.UInt32> (ORconst <typ.UInt32> [0x100] x) (RSBconst <typ.UInt32> [0] (ORconst <typ.UInt32> [0x100] x))) [1])))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 90.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Ctz32 x) && buildcfg.GOPPC64<=8 => (POPCNTW (MOVWZreg (ANDN <typ.Int> (ADDconst <typ.Int> [-1] x) x)))
    (Ctz32 x) => (CNTTZW (MOVWZreg x))
    (Ctz16 x) => (POPCNTW (MOVHZreg (ANDN <typ.Int16> (ADDconst <typ.Int16> [-1] x) x)))
    (Ctz8 x)  => (POPCNTB (MOVBZreg (ANDN <typ.UInt8> (ADDconst <typ.UInt8> [-1] x) x)))
    
    (BitLen64 x) => (SUBFCconst [64] (CNTLZD <typ.Int> x))
    (BitLen32 x) => (SUBFCconst [32] (CNTLZW <typ.Int> x))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. src/math/bits/make_tables.go

    // license that can be found in the LICENSE file.
    
    // Code generated by go run make_tables.go. DO NOT EDIT.
    
    package bits
    
    `)
    
    func main() {
    	buf := bytes.NewBuffer(header)
    
    	gen(buf, "ntz8tab", ntz8)
    	gen(buf, "pop8tab", pop8)
    	gen(buf, "rev8tab", rev8)
    	gen(buf, "len8tab", len8)
    
    	out, err := format.Source(buf.Bytes())
    	if err != nil {
    		log.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (Ctz32 x)     && buildcfg.GOAMD64 <  3 => (Select0 (BSFQ (BTSQconst <typ.UInt64> [32] x)))
    (Ctz16 x) => (BSFL (ORLconst <typ.UInt32> [1<<16] x))
    (Ctz8  x) => (BSFL (ORLconst <typ.UInt32> [1<<8 ] x))
    
    (Ctz64NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTQ x)
    (Ctz32NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTL x)
    (Ctz16NonZero x) && buildcfg.GOAMD64 >= 3 => (TZCNTL x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Ctz(64|32|16|8)NonZero ...) => (Ctz(64|32|32|32) ...)
    
    (Ctz64 <t> x) => (CLZ  (RBIT  <t> x))
    (Ctz32 <t> x) => (CLZW (RBITW <t> x))
    (Ctz16 <t> x) => (CLZW <t> (RBITW <typ.UInt32> (ORconst <typ.UInt32> [0x10000] x)))
    (Ctz8  <t> x) => (CLZW <t> (RBITW <typ.UInt32> (ORconst <typ.UInt32> [0x100] x)))
    
    (PopCount64 <t> x) => (FMOVDfpgp <t> (VUADDLV <typ.Float64> (VCNT <typ.Float64> (FMOVDgpfp <typ.Float64> x))))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v0.AddArg2(x, v1)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueWasm_OpCtz8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Ctz8 x)
    	// result: (I64Ctz (I64Or x (I64Const [0x100])))
    	for {
    		x := v_0
    		v.reset(OpWasmI64Ctz)
    		v0 := b.NewValue0(v.Pos, OpWasmI64Or, typ.Int64)
    		v1 := b.NewValue0(v.Pos, OpWasmI64Const, typ.Int64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewriteARM.go

    		v.AddArg(v0)
    		return true
    	}
    	return false
    }
    func rewriteValueARM_OpCtz8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Ctz8 <t> x)
    	// cond: buildcfg.GOARM.Version<=6
    	// result: (RSBconst [32] (CLZ <t> (SUBconst <typ.UInt32> (AND <typ.UInt32> (ORconst <typ.UInt32> [0x100] x) (RSBconst <typ.UInt32> [0] (ORconst <typ.UInt32> [0x100] x))) [1])))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
Back to top