Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NEGV (0.03 sec)

  1. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    	return false
    }
    func rewriteValueMIPS64_OpLsh16x16(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Lsh16x16 <t> x y)
    	// result: (AND (NEGV <t> (SGTU (MOVVconst <typ.UInt64> [64]) (ZeroExt16to64 y))) (SLLV <t> x (ZeroExt16to64 y)))
    	for {
    		t := v.Type
    		x := v_0
    		y := v_1
    		v.reset(OpMIPS64AND)
    		v0 := b.NewValue0(v.Pos, OpMIPS64NEGV, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    			if !(is32Bit(c) && !t.IsPtr()) {
    				continue
    			}
    			v.reset(OpLOONG64ADDVconst)
    			v.AuxInt = int64ToAuxInt(c)
    			v.AddArg(x)
    			return true
    		}
    		break
    	}
    	// match: (ADDV x (NEGV y))
    	// result: (SUBV x y)
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			x := v_0
    			if v_1.Op != OpLOONG64NEGV {
    				continue
    			}
    			y := v_1.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
Back to top