1 /* -*-comment-start: "//";comment-end:""-*-
2 * GNU Mes --- Maxwell Equations of Software
3 * Copyright © 2017,2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
5 * This file is part of GNU Mes.
7 * GNU 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 * GNU 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 GNU Mes. If not, see <http://www.gnu.org/licenses/>.
24 __divdi3 (double a, double b)
27 if (__mes_debug () && !stub)
28 eputs ("__divdi3 stub\n");
30 return ((int) a / (int) b);
34 __moddi3 (double a, double b)
37 if (__mes_debug () && !stub)
38 eputs ("__moddi3 stub\n");
40 return ((int) a % (int) b);
44 __udivdi3 (unsigned long long a, unsigned long long b)
47 if (__mes_debug () && !stub)
48 eputs ("__udivdi3 stub\n");
56 __umoddi3 (unsigned long long a, unsigned long long b)
59 if (__mes_debug () && !stub)
60 eputs ("__umoddi3 stub\n");
68 __lshrdi3 (unsigned long long a, int b)
71 if (__mes_debug () && !stub)
72 eputs ("__lshrdi3 stub\n");
78 __ashldi3 (long long a, int b)
81 if (__mes_debug () && !stub)
82 eputs ("__ashldi3 stub\n");
88 __ashrdi3 (long long a, int b)
91 if (__mes_debug () && !stub)
92 eputs ("__ashrdi3 stub\n");
98 __floatundixf (unsigned long long a)
101 if (__mes_debug () && !stub)
102 eputs ("__floatundixf stub\n");
108 __fixunsxfdi (double a1)
111 if (__mes_debug () && !stub)
112 eputs ("__fixunsxfdi stub\n");
117 #if __TINYC__ == 9226
124 __fixdfdi (double a1)
127 if (__mes_debug () && !stub)
128 eputs ("__fixdfdi stub\n");
134 __fixxfdi (double a1)
137 if (__mes_debug () && !stub)
138 eputs ("__fixxfdi stub\n");
144 __fixsfdi (double a1)
147 if (__mes_debug () && !stub)
148 eputs ("__fixsfdi stub\n");