Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MULW (0.06 sec)

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

    (MULW x (MOVDconst [c])) && int32(c)==-1 => (MOVWUreg (NEG <x.Type> x))
    (MULW _ (MOVDconst [c])) && int32(c)==0 => (MOVDconst [0])
    (MULW x (MOVDconst [c])) && int32(c)==1 => (MOVWUreg x)
    (MULW x (MOVDconst [c])) && isPowerOfTwo64(c) => (MOVWUreg (SLLconst <x.Type> [log64(c)] x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    	}
    	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