Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:       return %[[RES]]
    // CHECK:         }
    func.func @convert_population_count_i32(%arg0: tensor<8xi32>) -> tensor<8xi32> {
      %0 = "mhlo.popcnt"(%arg0) : (tensor<8xi32>) -> tensor<8xi32>
      func.return %0 : tensor<8xi32>
    }
    
    // CHECK-LABEL:   func @convert_population_count_ui8(
    // CHECK-SAME:                                   %[[ARG_0:.*]]: tensor<8xui8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.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