• Ng Zhi An's avatar
    [ia32][wasm-relaxed-simd] Implement qfma qfms · 2a12753c
    Ng Zhi An authored
    Implement f32x4.qfma, f32x4.qfms, f64x2.qfma, f64x2.qfms.
    
    These were already implement in macro-assembler-x64, so move the
    implementation to shared-macro-assembler.
    
    x64 has a macro list in fma-instr, copy this to ia32, and then use this
    macro list to define existing vfma{ss,sd} instructions in
    assembler-ia32.
    
    Disassembly support is intentionally omitted in this patch, I will add
    this in a follow-up. The currently disassembly in x64 is quite verbose
    and I would like to make use of macro-list but it requires breaking up
    the macro list into smaller parts, so I will do that refactoring for
    both ia32 and x64 in the follow-up.
    
    Bug: v8:12284
    Change-Id: I3654ea108a123467506c5837072b6b63ecbc74da
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3255664Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
    Commit-Queue: Zhi An Ng <zhin@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77932}
    2a12753c
macro-assembler-shared-ia32-x64.h 37.1 KB