Skip to contentSkip to conversation

added a bunch of gcc builtins

PATCH In review Al Viro 2 participants 2 messages Oct 1, 2006 – Oct 24, 2006 Sparse checker

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 added a bunch of gcc builtins

[PATCH] added a bunch of gcc builtins

---

[getting rid of ancient patches sitting in my tree]

 lib.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
lib.c +10 -0
index cd46e03..005aaa5 100644
@@ -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)
Signature · 1 line
1.4.2.GIT
#1 lore raw
Quoted 8 lines · Al Viro

---

[getting rid of ancient patches sitting in my tree]

 lib.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

Added to my sparse tree at:
git://git.kernel.org/pub/scm/linux/kernel/git/josh/sparse.git

Thanks,
Josh Triplett