Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TESTWconst (0.31 sec)

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

    (CMPWconst a:(ANDLconst [c] x) [0]) && a.Uses == 1 => (TESTWconst [int16(c)] x)
    (CMPBconst a:(ANDLconst [c] x) [0]) && a.Uses == 1 => (TESTBconst [int8(c)] x)
    
    // Convert TESTx to TESTxconst if possible.
    (TESTQ (MOVQconst [c]) x) && is32Bit(c) => (TESTQconst [int32(c)] x)
    (TESTL (MOVLconst [c]) x) => (TESTLconst [c] x)
    (TESTW (MOVLconst [c]) x) => (TESTWconst [int16(c)] x)
    (TESTB (MOVLconst [c]) x) => (TESTBconst [int8(c)] 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)
Back to top