Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Mul16 (0.19 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/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)
  3. 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)
Back to top