Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ADDSflags (0.18 sec)

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

    (CMNconst [c] x) && !isARM64addcon(c)  => (CMN x (MOVDconst [c]))
    (CMNWconst [c] x) && !isARM64addcon(int64(c))  => (CMNW x (MOVDconst [int64(c)]))
    
    (ADDSconstflags [c] x) && !isARM64addcon(c)  => (ADDSflags x (MOVDconst [c]))
    
    // These rules remove unneeded sign/zero extensions.
    // They occur in late lower because they rely on the fact
    // that their arguments don't get rewritten to a non-extended opcode instead.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    }
    func rewriteValueARM64latelower_OpARM64ADDSconstflags(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (ADDSconstflags [c] x)
    	// cond: !isARM64addcon(c)
    	// result: (ADDSflags x (MOVDconst [c]))
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		x := v_0
    		if !(!isARM64addcon(c)) {
    			break
    		}
    		v.reset(OpARM64ADDSflags)
    		v0 := b.NewValue0(v.Pos, OpARM64MOVDconst, typ.UInt64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "ADDSconstflags", argLength: 1, reg: gp11flags, typ: "(UInt64,Flags)", asm: "ADDS", aux: "Int64"},      // arg0+auxint, set flags.
    		{name: "ADDSflags", argLength: 2, reg: gp21flags, typ: "(UInt64,Flags)", asm: "ADDS", commutative: true},      // arg0+arg1, set flags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (CMPW (MOVDconst [c]) x) => (InvertFlags (CMPWconst [int32(c)] x))
    
    (ROR  x (MOVDconst [c])) => (RORconst x [c&63])
    (RORW x (MOVDconst [c])) => (RORWconst x [c&31])
    
    (ADDSflags x (MOVDconst [c]))  => (ADDSconstflags [c] x)
    
    (ADDconst [c] y) && c < 0 => (SUBconst [-c] y)
    
    // Canonicalize the order of arguments to comparisons - helps with CSE.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewriteARM64.go

    		}
    		c := v_2_0_0.Args[0]
    		v.reset(OpARM64ADCSflags)
    		v.AddArg3(x, y, c)
    		return true
    	}
    	// match: (ADCSflags x y (Select1 <types.TypeFlags> (ADDSconstflags [-1] (MOVDconst [0]))))
    	// result: (ADDSflags x y)
    	for {
    		x := v_0
    		y := v_1
    		if v_2.Op != OpSelect1 || v_2.Type != types.TypeFlags {
    			break
    		}
    		v_2_0 := v_2.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 608.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/opGen.go

    			outputs: []outputInfo{
    				{1, 0},
    				{0, 670826495}, // R0 R1 R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R16 R17 R19 R20 R21 R22 R23 R24 R25 R26 R30
    			},
    		},
    	},
    	{
    		name:        "ADDSflags",
    		argLen:      2,
    		commutative: true,
    		asm:         arm64.AADDS,
    		reg: regInfo{
    			inputs: []inputInfo{
    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