http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58804
--- Comment #9 from Ed Smith-Rowland <3dw4rd at verizon dot net> --- So I'll post this patch to gcc-patches. Thanks. In other news, people are thinking about a bitops library: https://groups.google.com/a/isocpp.org/forum/?fromgroups#!topic/std-proposals/8WB2Z9d7A0w. There seems to be a lot of support. I'm surprised the 128-bit ints didn't come with these sorts of functions. Maybe they just haven't been turned into builtins yet.