Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for secconst (0.17 sec)

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

    (ADDconst [c] (SUBconst [d] x)) => (ADDconst [c-d] x)
    (SUBconst [c] (MOVDconst [d]))  => (MOVDconst [d-c])
    (SUBconst [c] (SUBconst [d] x)) => (ADDconst [-c-d] x)
    (SUBconst [c] (ADDconst [d] x)) => (ADDconst [-c+d] x)
    (SLLconst [c] (MOVDconst [d]))  => (MOVDconst [d<<uint64(c)])
    (SRLconst [c] (MOVDconst [d]))  => (MOVDconst [int64(uint64(d)>>uint64(c))])
    (SRAconst [c] (MOVDconst [d]))  => (MOVDconst [d>>uint64(c)])
    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/rewriteMIPS.go

    		return true
    	}
    	// match: (SUBconst [c] (SUBconst [d] x))
    	// result: (ADDconst [-c-d] x)
    	for {
    		c := auxIntToInt32(v.AuxInt)
    		if v_0.Op != OpMIPSSUBconst {
    			break
    		}
    		d := auxIntToInt32(v_0.AuxInt)
    		x := v_0.Args[0]
    		v.reset(OpMIPSADDconst)
    		v.AuxInt = int32ToAuxInt(-c - d)
    		v.AddArg(x)
    		return true
    	}
    	// match: (SUBconst [c] (ADDconst [d] x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		return true
    	}
    	// match: (SGTconst [c] (MOVBreg _))
    	// cond: 0x7f < c
    	// result: (MOVVconst [1])
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpLOONG64MOVBreg || !(0x7f < c) {
    			break
    		}
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(1)
    		return true
    	}
    	// match: (SGTconst [c] (MOVBreg _))
    	// cond: c <= -0x80
    	// result: (MOVVconst [0])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		return true
    	}
    	// match: (SGTconst [c] (MOVBreg _))
    	// cond: 0x7f < c
    	// result: (MOVVconst [1])
    	for {
    		c := auxIntToInt64(v.AuxInt)
    		if v_0.Op != OpMIPS64MOVBreg || !(0x7f < c) {
    			break
    		}
    		v.reset(OpMIPS64MOVVconst)
    		v.AuxInt = int64ToAuxInt(1)
    		return true
    	}
    	// match: (SGTconst [c] (MOVBreg _))
    	// cond: c <= -0x80
    	// result: (MOVVconst [0])
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
Back to top