* [PATCH] added a bunch of gcc builtins
@ 2006-10-01 18:49 Al Viro
2006-10-24 15:42 ` Josh Triplett
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2006-10-01 18:49 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-sparse
[PATCH] added a bunch of gcc builtins
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
[getting rid of ancient patches sitting in my tree]
lib.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/lib.c b/lib.c
index cd46e03..005aaa5 100644
--- a/lib.c
+++ b/lib.c
@@ -483,6 +483,16 @@ void declare_builtin_functions(void)
add_pre_buffer("extern void __builtin_trap(void);\n");
add_pre_buffer("extern int __builtin_ffs(int);\n");
add_pre_buffer("extern void *__builtin_alloca(__SIZE_TYPE__);\n");
+ add_pre_buffer("extern int __builtin_popcount(unsigned int);\n");
+ add_pre_buffer("extern int __builtin_popcountl(unsigned long);\n");
+ add_pre_buffer("extern void __builtin_prefetch (const void *, ...);\n");
+ add_pre_buffer("extern long __builtin_alpha_extbl(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_extwl(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_insbl(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_inswl(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_insql(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_inslh(long, long);\n");
+ add_pre_buffer("extern long __builtin_alpha_cmpbge(long, long);\n");
}
void create_builtin_stream(void)
--
1.4.2.GIT
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-24 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 18:49 [PATCH] added a bunch of gcc builtins Al Viro
2006-10-24 15:42 ` Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).