aarch64: Add support for the fmls instruction (#5895)
This commit adds lowerings to the AArch64 backend for the `fmls` instruction which is intended to be leveraged in the relaxed-simd proposal for WebAssembly. This should hopefully allow for a teeny-bit-more efficient codegen for this operator instead of using the `fmla` instruction plus a negation instruction.
This commit is contained in:
@@ -2363,6 +2363,7 @@ impl Inst {
|
||||
let (op, size) = match alu_op {
|
||||
VecALUModOp::Bsl => ("bsl", VectorSize::Size8x16),
|
||||
VecALUModOp::Fmla => ("fmla", size),
|
||||
VecALUModOp::Fmls => ("fmls", size),
|
||||
};
|
||||
let rd = pretty_print_vreg_vector(rd.to_reg(), size, allocs);
|
||||
let ri = pretty_print_vreg_vector(ri, size, allocs);
|
||||
|
||||
Reference in New Issue
Block a user