1 /* -*-comment-start: "//";comment-end:""-*-
2 * Mes --- Maxwell Equations of Software
3 * Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
5 * This file is part of Mes.
7 * Mes is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or (at
10 * your option) any later version.
12 * Mes is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Mes. If not, see <http://www.gnu.org/licenses/>.
22 __divdi3 (double a, double b)
25 if (__mes_debug () && !stub)
26 eputs ("__divdi3 stub\n");
28 return ((int)a / (int)b);
32 __moddi3 (double a, double b)
35 if (__mes_debug () && !stub)
36 eputs ("__moddi3 stub\n");
38 return ((int) a %(int)b);
42 __udivdi3 (unsigned long long a, unsigned long long b)
45 if (__mes_debug () && !stub)
46 eputs ("__udivdi3 stub\n");
54 __umoddi3 (unsigned long long a, unsigned long long b)
57 if (__mes_debug () && !stub)
58 eputs ("__umoddi3 stub\n");
66 __lshrdi3 (unsigned long long a, int b)
69 if (__mes_debug () && !stub)
70 eputs ("__lshrdi3 stub\n");
76 __ashldi3 (long long a, int b)
79 if (__mes_debug () && !stub)
80 eputs ("__ashldi3 stub\n");
86 __ashrdi3 (long long a, int b)
89 if (__mes_debug () && !stub)
90 eputs ("__ashrdi3 stub\n");
96 __floatundixf (unsigned long long a)
99 if (__mes_debug () && !stub)
100 eputs ("__floatundixf stub\n");
106 __fixunsxfdi (double a1)
109 if (__mes_debug () && !stub)
110 eputs ("__fixunsxfdi stub\n");
116 __fixdfdi (double a1)
119 if (__mes_debug () && !stub)
120 eputs ("__fixdfdi stub\n");
126 __fixxfdi (double a1)
129 if (__mes_debug () && !stub)
130 eputs ("__fixxfdi stub\n");
136 __fixsfdi (double a1)
139 if (__mes_debug () && !stub)
140 eputs ("__fixsfdi stub\n");