Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fix x86 encoder to use 64-bit type to accumulate opcode/prefix bits #8382

Merged
merged 1 commit into from
Dec 1, 2016

Commits on Nov 30, 2016

  1. Fix x86 encoder to use 64-bit type to accumulate opcode/prefix bits

    The encoder was using size_t, a 32-bit type on x86, to accumulate opcode
    and prefix bits to emit. AVX support uses 3 bytes for prefixes that are
    higher than the 32-bit type can handle. So, change all code byte related types
    from size_t to a new code_t, defined as "unsigned __int64" on RyuJIT x86
    (there is precedence for this type on the ARM architectures).
    
    Fixes #8331
    BruceForstall committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    b90516f View commit details
    Browse the repository at this point in the history