1 2 /*---------------------------------------------------------------*/ 3 /*--- begin host_generic_maddf.h ---*/ 4 /*---------------------------------------------------------------*/ 5 6 /* 7 Compute x * y + z as ternary operation. 8 Copyright (C) 2010-2013 Free Software Foundation, Inc. 9 This file is part of the GNU C Library. 10 Contributed by Jakub Jelinek <jakub@redhat.com>, 2010. 11 12 The GNU C Library is free software; you can redistribute it and/or 13 modify it under the terms of the GNU Lesser General Public 14 License as published by the Free Software Foundation; either 15 version 2.1 of the License, or (at your option) any later version. 16 17 The GNU C Library is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 Lesser General Public License for more details. 21 22 You should have received a copy of the GNU Lesser General Public 23 License along with the GNU C Library; if not, see 24 <http://www.gnu.org/licenses/>. 25 */ 26 27 /* Generic helper functions for doing FMA, i.e. compute x * y + z 28 as ternary operation. 29 These are purely back-end entities and cannot be seen/referenced 30 from IR. */ 31 32 #ifndef __VEX_HOST_GENERIC_MADDF_H 33 #define __VEX_HOST_GENERIC_MADDF_H 34 35 #include "libvex_basictypes.h" 36 37 extern VEX_REGPARM(3) 38 void h_generic_calc_MAddF32 ( /*OUT*/Float*, Float*, Float*, Float* ); 39 40 extern VEX_REGPARM(3) 41 void h_generic_calc_MAddF64 ( /*OUT*/Double*, Double*, Double*, 42 Double* ); 43 44 #endif /* ndef __VEX_HOST_GENERIC_MADDF_H */ 45 46 /*---------------------------------------------------------------*/ 47 /*--- end host_generic_maddf.h --*/ 48 /*---------------------------------------------------------------*/ 49