Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for POPCNT (0.09 sec)

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

    (BitLen64 x) => (SUBFCconst [64] (CNTLZD <typ.Int> x))
    (BitLen32 x) => (SUBFCconst [32] (CNTLZW <typ.Int> x))
    
    (PopCount64 ...) => (POPCNTD ...)
    (PopCount(32|16|8) x) => (POPCNT(W|W|B) (MOV(W|H|B)Zreg x))
    
    (And(64|32|16|8) ...) => (AND ...)
    (Or(64|32|16|8) ...) => (OR ...)
    (Xor(64|32|16|8) ...) => (XOR ...)
    
    (Neg(64|32|16|8) ...) => (NEG ...)
    (Neg(64|32)F ...) => (FNEG ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			bFalse := s.f.NewBlock(ssa.BlockPlain)
    			bEnd := s.f.NewBlock(ssa.BlockPlain)
    			b.AddEdgeTo(bTrue)
    			b.AddEdgeTo(bFalse)
    			b.Likely = ssa.BranchLikely // most machines have popcnt nowadays
    
    			// We have the intrinsic - use it directly.
    			s.startBlock(bTrue)
    			s.vars[n] = s.newValue1(op, types.Types[types.TINT], args[0])
    			s.endBlock().AddEdgeTo(bEnd)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
Back to top