[PATCH] added a bunch of gcc builtins Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> --- [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 - To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html