Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for PopCount8 (0.14 sec)

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

    (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 ---
    (I64Add (I64Const [x]) (I64Const [y])) => (I64Const [x + y])
    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: "BitRev16", argLength: 1}, // Reverse the bits in arg[0]
    	{name: "BitRev32", argLength: 1}, // Reverse the bits in arg[0]
    	{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]
    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   R2, R3, R4      // R4=0x02030607
    //     SRW    $8, R4, R5      // R5=0x00020306
    //     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)))
    
    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/AMD64.rules

    (Bswap(64|32) ...) => (BSWAP(Q|L) ...)
    (Bswap16 x) => (ROLWconst [8] x)
    
    (PopCount(64|32) ...) => (POPCNT(Q|L) ...)
    (PopCount16 x) => (POPCNTL (MOVWQZX <typ.UInt32> x))
    (PopCount8 x) => (POPCNTL (MOVBQZX <typ.UInt32> x))
    
    (Sqrt ...) => (SQRTSD ...)
    (Sqrt32 ...) => (SQRTSS ...)
    
    (RoundToEven x) => (ROUNDSD [0] x)
    (Floor x)       => (ROUNDSD [1] x)
    (Ceil x)        => (ROUNDSD [2] 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)
  5. src/cmd/compile/internal/ssa/rewriteWasm.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueWasm_OpPopCount8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount8 x)
    	// result: (I64Popcnt (ZeroExt8to64 x))
    	for {
    		x := v_0
    		v.reset(OpWasmI64Popcnt)
    		v0 := b.NewValue0(v.Pos, OpZeroExt8to64, 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_OpPopCount8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount8 x)
    	// result: (POPCNTB (MOVBZreg x))
    	for {
    		x := v_0
    		v.reset(OpPPC64POPCNTB)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVBZreg, 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_OpPopCount8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount8 x)
    	// result: (POPCNT (MOVBZreg x))
    	for {
    		x := v_0
    		v.reset(OpS390XPOPCNT)
    		v0 := b.NewValue0(v.Pos, OpS390XMOVBZreg, typ.UInt64)
    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    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/rewriteAMD64.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueAMD64_OpPopCount8(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (PopCount8 x)
    	// result: (POPCNTL (MOVBQZX <typ.UInt32> x))
    	for {
    		x := v_0
    		v.reset(OpAMD64POPCNTL)
    		v0 := b.NewValue0(v.Pos, OpAMD64MOVBQZX, typ.UInt32)
    		v0.AddArg(x)
    		v.AddArg(v0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "BitRev32",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "BitRev64",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount8",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount16",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "PopCount32",
    		argLen:  1,
    		generic: true,
    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