Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NEG (0.12 sec)

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

    	v_0 := v.Args[0]
    	// match: (NEG (MOVDconst [c]))
    	// result: (MOVDconst [-c])
    	for {
    		if v_0.Op != OpS390XMOVDconst {
    			break
    		}
    		c := auxIntToInt64(v_0.AuxInt)
    		v.reset(OpS390XMOVDconst)
    		v.AuxInt = int64ToAuxInt(-c)
    		return true
    	}
    	// match: (NEG (ADDconst [c] (NEG x)))
    	// cond: c != -(1<<31)
    	// result: (ADDconst [-c] x)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 395.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/x86/x86asm/tables.go

    	/*13117*/ uint16(xCondDataSize), 13121, 13125, 0,
    	/*13121*/ uint16(xSetOp), uint16(NEG),
    	/*13123*/ uint16(xArgRM16),
    	/*13124*/ uint16(xMatch),
    	/*13125*/ uint16(xSetOp), uint16(NEG),
    	/*13127*/ uint16(xArgRM32),
    	/*13128*/ uint16(xMatch),
    	/*13129*/ uint16(xCondDataSize), 13121, 13125, 13133,
    	/*13133*/ uint16(xSetOp), uint16(NEG),
    	/*13135*/ uint16(xArgRM64),
    	/*13136*/ uint16(xMatch),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 266.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go

    	MULLW:          "mullw",
    	MULLWCC:        "mullw.",
    	MULLWO:         "mullwo",
    	MULLWOCC:       "mullwo.",
    	NAND:           "nand",
    	NANDCC:         "nand.",
    	NEG:            "neg",
    	NEGCC:          "neg.",
    	NEGO:           "nego",
    	NEGOCC:         "nego.",
    	NOR:            "nor",
    	NORCC:          "nor.",
    	OR:             "or",
    	ORCC:           "or.",
    	ORC:            "orc",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 334.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v.AuxInt = int64ToAuxInt(-c)
    		v.AddArg(x)
    		return true
    	}
    	// match: (NEG (SUB x y))
    	// result: (SUB y x)
    	for {
    		if v_0.Op != OpPPC64SUB {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpPPC64SUB)
    		v.AddArg2(y, x)
    		return true
    	}
    	// match: (NEG (NEG x))
    	// result: x
    	for {
    		if v_0.Op != OpPPC64NEG {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      func.return %0 : tensor<?xf32>
    }
    
    // CHECK-LABEL:   func @neg(
    // CHECK-SAME:              %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> {
    // CHECK:           %[[VAL_1:.*]] = "tf.Neg"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32>
    // CHECK:           return %[[VAL_1]] : tensor<2xf32>
    // CHECK:         }
    func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      %0 = "tf.Log1p"(%arg0) : (tensor<?xf32>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: @neg
    func.func @neg(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK:  mhlo.negate %arg0 : tensor<2xf32>
      %0 = "tf.Neg"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @neg_dynamic
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/optimize.mlir

    func.func @prelu_fusion(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
      %alpha = arith.constant dense<-0.2> : tensor<3xf32>
      %0 = "tfl.relu"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32>
      %1 = "tfl.neg"(%arg0) : (tensor<2x3xf32>) -> tensor<2x3xf32>
      %2 = "tfl.relu"(%1) : (tensor<2x3xf32>) -> tensor<2x3xf32>
      %3 = "tfl.mul"(%alpha, %2) {fused_activation_function = "NONE"} : (tensor<3xf32>, tensor<2x3xf32>) -> tensor<2x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
Back to top