Home | History | Annotate | Line # | Download | only in epiphany
      1   1.1  mrg /* Epiphany intrinsic functions
      2  1.10  mrg    Copyright (C) 2011-2022 Free Software Foundation, Inc.
      3   1.1  mrg    Contributed by Embecosm on behalf of Adapteva, Inc.
      4   1.1  mrg 
      5   1.1  mrg This file is part of GCC.
      6   1.1  mrg 
      7   1.1  mrg This file is free software; you can redistribute it and/or modify it
      8   1.1  mrg under the terms of the GNU General Public License as published by the
      9   1.1  mrg Free Software Foundation; either version 3, or (at your option) any
     10   1.1  mrg later version.
     11   1.1  mrg 
     12   1.1  mrg This file is distributed in the hope that it will be useful, but
     13   1.1  mrg WITHOUT ANY WARRANTY; without even the implied warranty of
     14   1.1  mrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     15   1.1  mrg General Public License for more details.
     16   1.1  mrg 
     17   1.1  mrg Under Section 7 of GPL version 3, you are granted additional
     18   1.1  mrg permissions described in the GCC Runtime Library Exception, version
     19   1.1  mrg 3.1, as published by the Free Software Foundation.
     20   1.1  mrg 
     21   1.1  mrg You should have received a copy of the GNU General Public License and
     22   1.1  mrg a copy of the GCC Runtime Library Exception along with this program;
     23   1.1  mrg see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
     24   1.1  mrg <http://www.gnu.org/licenses/>.  */
     25   1.1  mrg 
     26   1.1  mrg #define __builtin_epiphany_fmadd(a, b, c) __builtin_fmaf (b, c, a)
     27   1.1  mrg #define __builtin_epiphany_fmsub(a, b, c) __builtin_fmaf (-(b), c, a)
     28