1*3cab2bb3Spatrick //===-- lib/multf3.c - Quad-precision multiplication --------------*- C -*-===// 2*3cab2bb3Spatrick // 3*3cab2bb3Spatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*3cab2bb3Spatrick // See https://llvm.org/LICENSE.txt for license information. 5*3cab2bb3Spatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*3cab2bb3Spatrick // 7*3cab2bb3Spatrick //===----------------------------------------------------------------------===// 8*3cab2bb3Spatrick // 9*3cab2bb3Spatrick // This file implements quad-precision soft-float multiplication 10*3cab2bb3Spatrick // with the IEEE-754 default rounding (to nearest, ties to even). 11*3cab2bb3Spatrick // 12*3cab2bb3Spatrick //===----------------------------------------------------------------------===// 13*3cab2bb3Spatrick 14*3cab2bb3Spatrick #define QUAD_PRECISION 15*3cab2bb3Spatrick #include "fp_lib.h" 16*3cab2bb3Spatrick 17*3cab2bb3Spatrick #if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT) 18*3cab2bb3Spatrick #include "fp_mul_impl.inc" 19*3cab2bb3Spatrick __multf3(fp_t a,fp_t b)20*3cab2bb3SpatrickCOMPILER_RT_ABI fp_t __multf3(fp_t a, fp_t b) { return __mulXf3__(a, b); } 21*3cab2bb3Spatrick 22*3cab2bb3Spatrick #endif 23