blob: 979020e735245c7a972a66ac2cdc838d69e9bcb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* stubs.c
* provides symbols for various software float implementations that
* our backend compilers really want to have somewhere.
* we do not use them anywhere within the transpiled source, so
* it's safe to let them be empty.
* for real implementations we should use `compiler-rt`.
*
* Copyright (c) 2026, Mel G. <mel@rnrd.eu>
*
* SPDX-License-Identifier: MPL-2.0
*/
void __addtf3(void) {}
void __subtf3(void) {}
void __multf3(void) {}
void __divtf3(void) {}
void __netf2(void) {}
void __eqtf2(void) {}
void __lttf2(void) {}
void __gttf2(void) {}
void __letf2(void) {}
void __getf2(void) {}
void __floatsitf(void) {}
void __floatunsitf(void) {}
void __fixtfsi(void) {}
void __fixunstfsi(void) {}
void __extendsftf2(void) {}
void __extenddftf2(void) {}
void __trunctfsf2(void) {}
void __trunctfdf2(void) {}
|