Alexander van Heukelum
56a6b1eb7b
generic: implement __fls on all 64-bit archs
...
Implement __fls on all 64-bit archs:
alpha has an implementation of fls64.
Added __fls(x) = fls64(x) - 1.
ia64 has fls, but not __fls.
Added __fls based on code of fls.
mips and powerpc have __ilog2, which is the same as __fls.
Added __fls = __ilog2.
parisc, s390, sh and sparc64:
Include generic __fls.
x86_64 already has __fls.
Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-26 19:21:16 +02:00
..
2008-01-26 14:11:00 +01:00
2006-09-28 16:56:43 +02:00
2007-08-22 13:51:49 +02:00
2005-09-07 16:57:21 -07:00
2008-04-26 19:21:16 +02:00
2007-08-01 20:45:38 -07:00
2007-03-05 23:35:50 +01:00
2006-09-28 16:56:43 +02:00
2007-10-12 16:13:07 +02:00
2008-02-05 16:50:54 +01:00
2007-10-12 16:13:01 +02:00
2008-02-05 16:50:54 +01:00
2007-03-26 20:43:46 +02:00
2007-04-27 16:01:39 +02:00
2008-04-17 07:47:06 +02:00
2007-10-12 16:12:59 +02:00
2008-02-03 16:32:51 +02:00
2006-12-04 15:40:30 +01:00
2008-04-17 07:47:05 +02:00
2008-02-06 10:41:00 -08:00
2005-04-16 15:20:36 -07:00
2008-01-26 14:11:25 +01:00
2008-04-17 07:47:03 +02:00
2005-04-16 15:20:36 -07:00
2006-12-01 14:52:01 -08:00
2007-08-22 13:51:47 +02:00
2006-09-28 16:55:39 +02:00
2006-09-20 15:58:51 +02:00
2006-09-28 16:56:43 +02:00
2008-02-09 18:24:41 +01:00
2005-07-26 14:35:41 -07:00
2005-04-16 15:20:36 -07:00
2007-02-05 21:18:19 +01:00
2008-04-17 07:47:07 +02:00
2007-07-17 10:23:11 -07:00
2005-09-07 16:57:38 -07:00
2007-01-09 10:18:50 +01:00
2008-04-17 07:47:05 +02:00
2006-04-26 12:56:16 +01:00
2007-02-12 15:49:57 +01:00
2006-01-10 08:01:34 -08:00
2008-02-08 09:22:24 -08:00
2005-04-16 15:20:36 -07:00
2008-01-26 14:11:24 +01:00
2006-10-06 16:38:35 +02:00
2006-09-29 09:18:05 -07:00
2006-09-28 16:56:43 +02:00
2006-09-24 22:07:25 +01:00
2007-10-16 09:42:50 -07:00
2008-02-07 08:42:30 -08:00
2005-04-16 15:20:36 -07:00
2008-03-04 16:35:11 -08:00
2008-04-02 15:28:18 -07:00
2005-04-16 15:20:36 -07:00
2007-02-21 10:55:55 +01:00
2008-04-17 07:47:07 +02:00
2005-04-16 15:20:36 -07:00
2006-02-15 15:32:22 -08:00
2008-02-09 18:24:41 +01:00
2008-02-09 18:24:41 +01:00
2005-04-16 15:20:36 -07:00
2006-09-20 15:59:34 +02:00
2005-04-16 15:20:36 -07:00
2006-01-09 15:59:19 -08:00
2005-04-16 15:20:36 -07:00
2008-02-09 18:24:40 +01:00
2007-05-10 15:46:08 +02:00
2005-04-16 15:20:36 -07:00
2008-01-30 23:27:58 +01:00
2008-02-09 18:24:41 +01:00
2008-02-09 18:24:41 +01:00
2007-05-11 08:29:34 -07:00
2007-01-11 18:18:22 -08:00
2008-04-17 07:47:07 +02:00
2008-01-26 14:11:27 +01:00
2008-01-26 14:11:25 +01:00
2005-04-16 15:20:36 -07:00
2007-02-05 21:18:37 +01:00
2005-04-16 15:20:36 -07:00
2008-01-26 14:11:15 +01:00
2007-10-12 16:13:07 +02:00
2006-01-14 18:27:10 -08:00
2007-10-22 21:20:03 +02:00
2008-01-26 14:11:15 +01:00
2007-02-21 10:55:37 +01:00
2005-04-16 15:20:36 -07:00
2008-04-17 10:42:34 -04:00
2005-04-16 15:20:36 -07:00
2007-04-27 16:01:44 +02:00
2007-07-10 11:24:47 +02:00
2007-07-10 11:24:47 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-14 18:27:08 -08:00
2005-05-01 08:59:08 -07:00
2006-07-02 13:58:48 -07:00
2006-09-28 16:56:43 +02:00
2008-04-17 07:47:01 +02:00
2008-01-31 19:27:19 -08:00
2007-04-25 22:24:04 -07:00
2008-01-26 14:11:14 +01:00
2008-01-26 14:11:31 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-09-28 16:56:43 +02:00
2005-04-16 15:20:36 -07:00
2008-04-17 07:47:01 +02:00
2008-04-17 07:47:01 +02:00
2007-02-05 21:18:26 +01:00
2008-02-08 09:22:24 -08:00
2008-02-08 09:22:24 -08:00
2006-06-29 15:02:47 +02:00
2007-02-05 21:16:47 +01:00
2008-04-17 07:47:06 +02:00
2008-02-09 18:24:41 +01:00
2008-04-17 07:47:06 +02:00
2005-04-16 15:20:36 -07:00
2008-04-17 07:47:01 +02:00
2007-10-17 08:42:53 -07:00
2007-02-05 21:18:17 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2008-02-09 18:24:37 +01:00
2008-02-07 08:42:30 -08:00
2006-05-04 01:18:33 +01:00
2005-04-16 15:20:36 -07:00
2008-01-26 14:11:25 +01:00