/
GitCaptain
/
llvm-project
Обзор
Документация
Войти
/
GitCaptain
/
llvm-project
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
fix-tests
libc/src/math/fma.cpp
20 строк
622 B
Tue Ly
[libc] Automatically add -mfma flag for architectures supporting FMA.
03 июн 2022, 08:21
03 июн 2022, 08:21
614567a
Код
Авторство
О чём код?
//===-- Implementation of fma function ------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "src/math/fma.h" #include "src/__support/common.h" #include "src/__support/FPUtil/FMA.h" namespace __llvm_libc { LLVM_LIBC_FUNCTION(double, fma, (double x, double y, double z)) { return fputil::fma(x, y, z); } } // namespace __llvm_libc