Hi all, I am using the clang RISCV backend and I am having trouble getting the compiler to generate FMA instructions with the following input.
float test (float first, float second, float third) { return first * second + third; } I am using -O3 and -ffast-math and I am specifying -march=imfa. GCC generates FMA instructions with these flags. Is there something I am doing wrong? Thanks, Max _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users