Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for popcntw (0.26 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AddArg2(y, x)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCtz16(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Ctz16 x)
    	// result: (POPCNTW (MOVHZreg (ANDN <typ.Int16> (ADDconst <typ.Int16> [-1] x) x)))
    	for {
    		x := v_0
    		v.reset(OpPPC64POPCNTW)
    		v0 := b.NewValue0(v.Pos, OpPPC64MOVHZreg, typ.Int64)
    		v1 := b.NewValue0(v.Pos, OpPPC64ANDN, typ.Int16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:       %[[POP_CNT:.*]] = "tf.PopulationCount"(%[[ARG_0]]) : (tensor<8xi32>) -> tensor<8xui8>
    // CHECK:       %[[RES:.*]] = "tf.Cast"(%[[POP_CNT]]) <{Truncate = false}> : (tensor<8xui8>) -> tensor<8xi32>
    // CHECK:       return %[[RES]]
    // CHECK:         }
    func.func @convert_population_count_i32(%arg0: tensor<8xi32>) -> tensor<8xi32> {
      %0 = "mhlo.popcnt"(%arg0) : (tensor<8xi32>) -> tensor<8xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  3. 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