Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for PopCount32 (0.26 sec)

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

    (Ctz8  x) => (I64Ctz (I64Or x (I64Const [0x100])))
    
    (Ctz(64|32|16|8)NonZero ...) => (I64Ctz ...)
    
    (BitLen64 x) => (I64Sub (I64Const [64]) (I64Clz x))
    
    (PopCount64 ...) => (I64Popcnt ...)
    (PopCount32 x) => (I64Popcnt (ZeroExt32to64 x))
    (PopCount16 x) => (I64Popcnt (ZeroExt16to64 x))
    (PopCount8  x) => (I64Popcnt (ZeroExt8to64  x))
    
    (CondSelect ...) => (Select ...)
    
    // --- Optimizations ---
    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: "BitRev64", argLength: 1}, // Reverse the bits in arg[0]
    
    	{name: "PopCount8", argLength: 1},  // Count bits in arg[0]
    	{name: "PopCount16", argLength: 1}, // Count bits in arg[0]
    	{name: "PopCount32", argLength: 1}, // Count bits in arg[0]
    	{name: "PopCount64", argLength: 1}, // Count bits in arg[0]
    
    	// RotateLeftX instructions rotate the X bits of arg[0] to the left
    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/S390X.rules

    //     ADDW   R4, R5, R6      // R6=0x0205090d
    //     MOVBZ  R6, R7          // R7=0x0000000d <-- result is 13
    //
    (PopCount8  x) => (POPCNT (MOVBZreg x))
    (PopCount16 x) => (MOVBZreg (SumBytes2 (POPCNT <typ.UInt16> x)))
    (PopCount32 x) => (MOVBZreg (SumBytes4 (POPCNT <typ.UInt32> x)))
    (PopCount64 x) => (MOVBZreg (SumBytes8 (POPCNT <typ.UInt64> x)))
    
    // SumBytes{2,4,8} pseudo operations sum the values of the rightmost
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (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))))
    (PopCount32 <t> x) => (FMOVDfpgp <t> (VUADDLV <typ.Float64> (VCNT <typ.Float64> (FMOVDgpfp <typ.Float64> (ZeroExt32to64 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)
  5. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueWasm_OpPopCount32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount32 x)
    	// result: (I64Popcnt (ZeroExt32to64 x))
    	for {
    		x := v_0
    		v.reset(OpWasmI64Popcnt)
    		v0 := b.NewValue0(v.Pos, OpZeroExt32to64, typ.UInt64)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 03:56:57 UTC 2023
    - 108.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpPopCount32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount32 x)
    	// result: (POPCNTW (MOVWZreg x))
    	for {
    		x := v_0
    		v.reset(OpPPC64POPCNTW)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVWZreg, typ.Int64)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		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)
  7. src/cmd/compile/internal/ssa/rewriteS390X.go

    		v0.AddArg(v1)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueS390X_OpPopCount32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount32 x)
    	// result: (MOVBZreg (SumBytes4 (POPCNT <typ.UInt32> x)))
    	for {
    		x := v_0
    		v.reset(OpS390XMOVBZreg)
    		v0 := b.NewValue0(v.Pos, OpS390XSumBytes4, typ.UInt8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteARM64.go

    		v0.AddArg(v1)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueARM64_OpPopCount32(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount32 <t> x)
    	// result: (FMOVDfpgp <t> (VUADDLV <typ.Float64> (VCNT <typ.Float64> (FMOVDgpfp <typ.Float64> (ZeroExt32to64 x)))))
    	for {
    		t := v.Type
    		x := v_0
    		v.reset(OpARM64FMOVDfpgp)
    		v.Type = t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "PopCount8",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount16",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount32",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount64",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "RotateLeft64",
    		argLen:  2,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top