Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Mul8 (0.08 sec)

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

    (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
    (Add64 (Const64 <t> [c]) (Add64 (Const64 <t> [d]) x)) => (Add64 (Const64 <t> [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 := auxIntToInt8(v_1.AuxInt)
    			v.reset(OpConst8)
    			v.AuxInt = int8ToAuxInt(c + d)
    			return true
    		}
    		break
    	}
    	// match: (Add8 <t> (Mul8 x y) (Mul8 x z))
    	// result: (Mul8 x (Add8 <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 != OpMul8 {
    				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: "Sub16", argLength: 2},
    	{name: "Sub32", argLength: 2},
    	{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},
    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

    (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)
    (Div64u ...) => (DIVU ...)
    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

    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpMul8(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mul8 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

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpMul8(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Mul8 x y)
    	// result: (MULW (SignExt8to32 x) (SignExt8to32 y))
    	for {
    		x := v_0
    		y := v_1
    		v.reset(OpRISCV64MULW)
    		v0 := b.NewValue0(v.Pos, OpSignExt8to32, 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:    "Sub32F",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "Sub64F",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:        "Mul8",
    		argLen:      2,
    		commutative: true,
    		generic:     true,
    	},
    	{
    		name:        "Mul16",
    		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