Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for BTQconst (0.25 sec)

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

        => (SET(B|AE)store  [off] {sym} ptr (BTQconst [int8(log32(c))] x) mem)
    (SET(NE|EQ)store [off] {sym} ptr (TESTQ (MOVQconst [c]) x) mem) && isUint64PowerOfTwo(c)
        => (SET(B|AE)store  [off] {sym} ptr (BTQconst [int8(log64(c))] x) mem)
    
    // Handle bit-testing in the form (a>>b)&1 != 0 by building the above rules
    // and further combining shifts.
    (BT(Q|L)const [c] (SHRQconst [d] x)) && (c+d)<64 => (BTQconst [c+d] x)
    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

    		v.reset(OpAMD64BTL)
    		v.AddArg2(y, x)
    		return true
    	}
    	return false
    }
    func rewriteValueAMD64_OpAMD64BTQconst(v *Value) bool {
    	v_0 := v.Args[0]
    	// match: (BTQconst [c] (SHRQconst [d] x))
    	// cond: (c+d)<64
    	// result: (BTQconst [c+d] x)
    	for {
    		c := auxIntToInt8(v.AuxInt)
    		if v_0.Op != OpAMD64SHRQconst {
    			break
    		}
    		d := auxIntToInt8(v_0.AuxInt)
    		x := v_0.Args[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: "BTLconst", argLength: 1, reg: gp1flags, asm: "BTL", typ: "Flags", aux: "Int8"},                         // test whether bit auxint in arg0 is set, 0 <= auxint < 32
    		{name: "BTQconst", argLength: 1, reg: gp1flags, asm: "BTQ", typ: "Flags", aux: "Int8"},                         // test whether bit auxint in arg0 is set, 0 <= auxint < 64
    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

    		argLen:  1,
    		asm:     x86.ABTL,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 49151}, // AX CX DX BX SP BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    		name:    "BTQconst",
    		auxType: auxInt8,
    		argLen:  1,
    		asm:     x86.ABTQ,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 49151}, // AX CX DX BX SP BP SI DI R8 R9 R10 R11 R12 R13 R15
    			},
    		},
    	},
    	{
    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