summaryrefslogtreecommitdiff
path: root/src/stdio/printf.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 11:42:22 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 11:42:22 -0500
commit9d61b058d856e8647848dd1122e4b9ea6c486d3b (patch)
tree680d10227043ba26f97f850331cd53cbbdeb38ef /src/stdio/printf.c
parent335d6ba35bf689dd8e29e71d41b53bf54d22ab7b (diff)
add GCC SSE hack to sprintf
Diffstat (limited to 'src/stdio/printf.c')
-rw-r--r--src/stdio/printf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stdio/printf.c b/src/stdio/printf.c
index 973e5068..03b6df2a 100644
--- a/src/stdio/printf.c
+++ b/src/stdio/printf.c
@@ -4,8 +4,7 @@
/** write formatted output **/
-/* TODO: FIXME! This is a terrible hack around GCC sucking. */
-__attribute__((noinline, target("no-sse")))
+GCC_SSE_HACK
int printf(const char *format, ...)
{
struct io_options opt = {0};