forked from cxd4/rsp
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from Zapeth/master
Merge changes from upstream
- Loading branch information
Showing
13 changed files
with
509 additions
and
564 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
*.asm | ||
*.s | ||
*.o | ||
|
||
/obj | ||
*.o | ||
*.so | ||
obj | ||
|
||
*.obj | ||
*.dll | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.