• Jakob Gruber's avatar
    [nojit] Convert generated memcpy functions into builtins · 61cb1133
    Jakob Gruber authored
    On ia32, arm and mips we generate miscellaneous memcpy-related functions
    at runtime:
    
    arm: memcpy for uint8-uint8 and uint16-uint8 {dest-source} pairs.
    ia32: memmove
    mips: memcpy uint8-uint8
    
    In jitless mode, runtime codegen is disallowed, so these must be
    converted into builtins.
    
    As far as I can tell, the mips64 files were dead code (#ifdef'd to
    V8_HOST_ARCH_MIPS instead of MIPS64).
    
    Note also the slightly changed implementation of ia32's MemMove's
    jump tables.
    
    Bug: v8:8675
    Change-Id: I5dc2a50fcbad332ce9f78228425b987b0d9acdf3
    Reviewed-on: https://chromium-review.googlesource.com/c/1407067Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58839}
    61cb1133
builtins-internal-gen.cc 31.3 KB