• ivica.bogosavljevic's avatar
    MIPS: Fix int64->int32 lowering in wasm-to-interpeter entry on big-endian archs. · 4f426e10
    ivica.bogosavljevic authored
    WASM interpreter requires that parameters are stored in big-endian natural
    memory order (higher bits on lower addresses and lower bits on higher address).
    On the other hand, WASM compiled code naturally stores data in memory in
    little-endian order. This CL implements big-endian support for passing
    double and int64 parameters to WASM interpreter.
    
    TEST=cctest/test-wasm-interpreter-entry/TestArgumentPassing_int64,
         cctest/test-wasm-interpreter-entry/TestArgumentPassing_AllTypes
    
    Review-Url: https://codereview.chromium.org/2721053002
    Cr-Commit-Position: refs/heads/master@{#43568}
    4f426e10
utils.h 48.4 KB