Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for memequal (0.29 sec)

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

    (NilCheck ptr:(Convert (Addr {_} (SB)) _) _) => ptr
    
    // for late-expanded calls, recognize memequal applied to a single constant byte
    // Support is limited by 1, 2, 4, 8 byte sizes
    (StaticLECall {callAux} sptr (Addr {scon} (SB)) (Const64 [1]) mem)
      && isSameCall(callAux, "runtime.memequal")
      && symIsRO(scon)
      => (MakeResult (Eq8 (Load <typ.Int8> sptr mem) (Const8 <typ.Int8> [int8(read8(scon,0))])) mem)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
Back to top