• Ng Zhi An's avatar
    [x64] Add movlps and movhps to assembler · 944dad59
    Ng Zhi An authored
    These instructions will be used for prototyping Wasm SIMD's store lane
    later on, separated the implementation for assembler and disassembler
    into this patch to make things smaller.
    
    Curiously, movhps and movlhps seems to have the same encoding, 0f 16, so
    I'm not sure not sure how to differentiate them in the disassembler
    besides using the mod field, since movlhps only takes xmm registers,
    whereas movhps always take 1 operand.
    
    Bug: v8:10975
    Change-Id: I8be9a31b1c9a5515038f9c8c55ef30d1ba063ea7
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2471977Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70520}
    944dad59
test-disasm-x64.cc 33.5 KB