Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Mul16 (0.14 sec)

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

    (Mul32 (Mul32 i:(Const32 <t>) z) x) && (z.Op != OpConst32 && x.Op != OpConst32) => (Mul32 i (Mul32 <t> x z))
    (Mul16 (Mul16 i:(Const16 <t>) z) x) && (z.Op != OpConst16 && x.Op != OpConst16) => (Mul16 i (Mul16 <t> x z))
    (Mul8  (Mul8  i:(Const8  <t>) z) x) && (z.Op != OpConst8  && x.Op != OpConst8)  => (Mul8  i (Mul8  <t> x z))
    
    // C + (D + x) -> (C + D) + x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritegeneric.go

    				continue
    			}
    			d := auxIntToInt16(v_1.AuxInt)
    			v.reset(OpConst16)
    			v.AuxInt = int16ToAuxInt(c + d)
    			return true
    		}
    		break
    	}
    	// match: (Add16 <t> (Mul16 x y) (Mul16 x z))
    	// result: (Mul16 x (Add16 <t> y z))
    	for {
    		t := v.Type
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpMul16 {
    				continue
    			}
    			_ = v_0.Args[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Sub64", argLength: 2},
    	{name: "SubPtr", argLength: 2},
    	{name: "Sub32F", argLength: 2},
    	{name: "Sub64F", argLength: 2},
    
    	{name: "Mul8", argLength: 2, commutative: true}, // arg0 * arg1
    	{name: "Mul16", argLength: 2, commutative: true},
    	{name: "Mul32", argLength: 2, commutative: true},
    	{name: "Mul64", argLength: 2, commutative: true},
    	{name: "Mul32F", argLength: 2, commutative: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/RISCV64.rules

    (Sub(Ptr|64|32|16|8) ...) => (SUB ...)
    (Sub(64|32)F ...) => (FSUB(D|S) ...)
    
    (Mul64 ...) => (MUL  ...)
    (Mul64uhilo ...) => (LoweredMuluhilo ...)
    (Mul64uover ...) => (LoweredMuluover ...)
    (Mul32 ...) => (MULW ...)
    (Mul16 x y) => (MULW (SignExt16to32 x) (SignExt16to32 y))
    (Mul8 x y)  => (MULW (SignExt8to32 x)  (SignExt8to32 y))
    (Mul(64|32)F ...) => (FMUL(D|S) ...)
    
    (Div(64|32)F ...) => (FDIV(D|S) ...)
    
    (Div64 x y [false])  => (DIV x y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		return true
    	}
    	return false
    }
    func rewriteValueMIPS64_OpMul16(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mul16 x y)
    	// result: (Select1 (MULVU x y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpSelect1)
    		v0 := b.NewValue0(v.Pos, OpMIPS64MULVU, types.NewTuple(typ.UInt64, typ.UInt64))
    		v0.AddArg2(x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		return true
    	}
    	return false
    }
    func rewriteValueRISCV64_OpMul16(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mul16 x y)
    	// result: (MULW (SignExt16to32 x) (SignExt16to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpRISCV64MULW)
    		v0 := b.NewValue0(v.Pos, OpSignExt16to32, typ.Int32)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/opGen.go

    		name:    "Sub64F",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:        "Mul8",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul16",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul32",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top