forked from mupen64plus/mupen64plus-rsp-cxd4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lto.c
39 lines (35 loc) · 1.71 KB
/
lto.c
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
32
33
34
35
36
37
38
39
/******************************************************************************\
* Project: Primitive LTO Merger Substitute *
* Authors: Iconoclast *
* Release: 2018.03.17 *
* License: CC0 Public Domain Dedication *
* *
* To the extent possible under law, the author(s) have dedicated all copyright *
* and related and neighboring rights to this software to the public domain *
* worldwide. This software is distributed without any warranty. *
* *
* You should have received a copy of the CC0 Public Domain Dedication along *
* with this software. *
* If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. *
\******************************************************************************/
/*
* A single compile-and-link command will be sufficient with this method.
*
* A command exemplifying this on UNIX with all optimizations in tact may be:
* $ cc --shared -o rsp.so lto.c -O3 -msse2 -DARCH_MIN_SSE2 -s
*
* To control the link-time stage during build with a separate command:
* $ gcc -c -o rsp.o lto.c -O3 -msse2 -DARCH_MIN_SSE2
* $ ld --shared -o rsp.so -lc rsp.o --strip-all
*/
#include "module.c"
#include "su.c"
#include "vu/vu.c"
#include "vu/multiply.c"
#include "vu/add.c"
#include "vu/select.c"
#include "vu/logical.c"
#include "vu/divide.c"
#if 0
#include "vu/pack.c"
#endif