Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SHRQconst (0.3 sec)

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

    (SHRLconst [1] (SHLLconst [1] x))
    	=> (ANDLconst [0x7fffffff] x)
    (SHRQconst [1] (SHLQconst [1] x))
    	=> (BTRQconst [63] x)
    
    // Special case testing first/last bit (with double-shift generated by generic.rules)
    ((SETNE|SETEQ|NE|EQ) (TESTQ z1:(SHLQconst [63] (SHRQconst [63] x)) z2)) && z1==z2
        => ((SETB|SETAE|ULT|UGE) (BTQconst [63] x))
    ((SETNE|SETEQ|NE|EQ) (TESTL z1:(SHLLconst [31] (SHRQconst [31] x)) z2)) && z1==z2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteAMD64.go

    	// match: (SHRQ x (MOVQconst [c]))
    	// result: (SHRQconst [int8(c&63)] x)
    	for {
    		x := v_0
    		if v_1.Op != OpAMD64MOVQconst {
    			break
    		}
    		c := auxIntToInt64(v_1.AuxInt)
    		v.reset(OpAMD64SHRQconst)
    		v.AuxInt = int8ToAuxInt(int8(c & 63))
    		v.AddArg(x)
    		return true
    	}
    	// match: (SHRQ x (MOVLconst [c]))
    	// result: (SHRQconst [int8(c&63)] x)
    	for {
    		x := v_0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		{name: "SHRW", argLength: 2, reg: gp21shift, asm: "SHRW", resultInArg0: true, clobberFlags: true},
    		{name: "SHRB", argLength: 2, reg: gp21shift, asm: "SHRB", resultInArg0: true, clobberFlags: true},
    		{name: "SHRQconst", argLength: 1, reg: gp11, asm: "SHRQ", aux: "Int8", resultInArg0: true, clobberFlags: true},
    		{name: "SHRLconst", argLength: 1, reg: gp11, asm: "SHRL", aux: "Int8", resultInArg0: true, clobberFlags: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  4. src/cmd/compile/internal/ssa/opGen.go

    			},
    			outputs: []outputInfo{
    				{0, 49135}, // AX CX DX BX BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    		name:         "SHRQconst",
    		auxType:      auxInt8,
    		argLen:       1,
    		resultInArg0: true,
    		clobberFlags: true,
    		asm:          x86.ASHRQ,
    		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