Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for commutative (0.33 sec)

  1. src/cmd/compile/internal/ssa/_gen/MIPS64Ops.go

    		{name: "ADDD", argLength: 2, reg: fp21, asm: "ADDD", commutative: true}, // arg0 + arg1
    		{name: "SUBF", argLength: 2, reg: fp21, asm: "SUBF"},                    // arg0 - arg1
    		{name: "SUBD", argLength: 2, reg: fp21, asm: "SUBD"},                    // arg0 - arg1
    		{name: "MULF", argLength: 2, reg: fp21, asm: "MULF", commutative: true}, // arg0 * arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 03:36:31 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "MULH", argLength: 2, reg: gp21, asm: "SMULH", commutative: true},                                      // (arg0 * arg1) >> 64, signed
    		{name: "UMULH", argLength: 2, reg: gp21, asm: "UMULH", commutative: true},                                     // (arg0 * arg1) >> 64, unsigned
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

                                                TypeRangeWithDesc range1);
    
    // Fold Arithmetic Op if one of the operands is a constant known to be an
    // Identity (e.g. X+0, X*1, etc...). For commutative operations fold if
    // known identity value is either lhs or rhs.
    template <
        typename OpT,
        typename std::enable_if<llvm::is_one_of<
            OpT, AddV2Op, SubOp, MulOp, DivOp, RealDivOp>::value>::type * = nullptr>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/CachingExcludeFactory.java

            return caches.getAllOf(new ExcludesKey(specs), key -> delegate.allOf(key.specs));
        }
    
        /**
         * A special key which recognizes the fact union and intersection
         * are commutative.
         */
        private final static class ExcludePair {
            private final ExcludeSpec left;
            private final ExcludeSpec right;
            private final int hashCode;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/rulegen.go

    			}
    		}
    	}
    
    	commutative := op.commutative
    	if commutative {
    		if args[0] == args[1] {
    			// When we have (Add x x), for any x,
    			// even if there are other uses of x besides these two,
    			// and even if x is not a variable,
    			// we can skip the commutative match.
    			commutative = false
    		}
    		if cnt[args[0]] == 1 && cnt[args[1]] == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/main.go

    	aux               string
    	rematerializeable bool
    	argLength         int32  // number of arguments, if -1, then this operation has a variable number of arguments
    	commutative       bool   // this operation is commutative on its first 2 arguments (e.g. addition)
    	resultInArg0      bool   // (first, if a tuple) output of v and v.Args[0] must be allocated to the same register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/opGen.go

    		argLen:       2,
    		commutative:  true,
    		clobberFlags: true,
    		asm:          x86.AMULL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 1},   // AX
    				{1, 255}, // AX CX DX BX SP BP SI DI
    			},
    			clobbers: 1, // AX
    			outputs: []outputInfo{
    				{0, 4}, // DX
    			},
    		},
    	},
    	{
    		name:         "MULLQU",
    		argLen:       2,
    		commutative:  true,
    		clobberFlags: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactoryTest.groovy

        @Unroll("#left ∪ #right = #expected")
        def "union of two elements"() {
            expect:
            factory.anyOf(left, right) == expected
    
            and: "union is commutative"
            factory.anyOf(right, left) == expected
    
            where:
            left                                                                | right                                       | expected
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/cse.go

    		// we process new additions as they arrive, avoiding O(n^2) behavior.
    		for i := 0; i < len(partition); i++ {
    			e := partition[i]
    
    			if opcodeTable[e[0].Op].commutative {
    				// Order the first two args before comparison.
    				for _, v := range e {
    					if valueEqClass[v.Args[0].ID] > valueEqClass[v.Args[1].ID] {
    						v.Args[0], v.Args[1] = v.Args[1], v.Args[0]
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go

    func (op boolOp) commutativeSets(info *types.Info, e *ast.BinaryExpr, seen map[*ast.BinaryExpr]bool) [][]ast.Expr {
    	exprs := op.split(e, seen)
    
    	// Partition the slice of expressions into commutative sets.
    	i := 0
    	var sets [][]ast.Expr
    	for j := 0; j <= len(exprs); j++ {
    		if j == len(exprs) || analysisutil.HasSideEffects(info, exprs[j]) {
    			if i < j {
    				sets = append(sets, exprs[i:j])
    			}
    			i = j + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top