Files
ubports_kernel_google_msm/include/asm-x86
Alexander van Heukelum 12d9c8420b x86: merge the simple bitops and move them to bitops.h
Some of those can be written in such a way that the same
inline assembly can be used to generate both 32 bit and
64 bit code.

For ffs and fls, x86_64 unconditionally used the cmov
instruction and i386 unconditionally used a conditional
branch over a mov instruction. In the current patch I
chose to select the version based on the availability
of the cmov instruction instead. A small detail here is
that x86_64 did not previously set CONFIG_X86_CMOV=y.

Improved comments for ffs, ffz, fls and variations.

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-04-17 17:41:07 +02:00
2008-01-30 13:34:07 +01:00
2008-04-17 17:41:33 +02:00
2007-10-17 20:17:13 +02:00
2008-04-19 19:19:54 +02:00
2008-01-30 13:31:19 +01:00
2008-02-04 16:48:04 +01:00
2007-10-17 20:17:15 +02:00
2008-04-17 17:41:19 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:21 +02:00
2008-01-30 13:33:09 +01:00
2008-04-19 19:19:58 +02:00
2008-04-17 17:41:33 +02:00
2008-01-30 13:33:35 +01:00
2008-02-04 16:48:03 +01:00
2008-04-19 19:19:55 +02:00
2008-01-30 13:33:14 +01:00
2008-04-18 00:46:35 +02:00
2008-01-30 13:30:28 +01:00
2007-10-30 00:22:22 +01:00
2008-01-30 13:30:16 +01:00
2008-04-17 20:05:37 +02:00
2007-10-17 20:16:47 +02:00
2008-01-30 13:31:55 +01:00
2007-10-17 20:26:15 +02:00
2008-01-30 13:31:43 +01:00
2007-10-23 22:37:24 +02:00
2008-04-17 17:41:30 +02:00
2008-04-17 17:41:01 +02:00
2008-04-17 17:40:58 +02:00
2008-01-30 13:34:10 +01:00
2008-04-17 17:41:19 +02:00
2008-04-19 19:19:55 +02:00
2008-04-24 23:57:31 +02:00
2008-04-24 23:57:31 +02:00
2008-04-26 17:35:47 +02:00
2007-10-17 20:17:08 +02:00
2007-10-17 20:17:08 +02:00
2008-04-19 19:19:57 +02:00
2007-10-17 20:17:08 +02:00
2008-04-17 10:42:34 -04:00
2007-10-23 22:37:24 +02:00
2008-04-24 23:15:44 +02:00
2008-01-30 13:31:21 +01:00
2007-10-23 22:37:24 +02:00
2007-10-23 22:37:24 +02:00
2008-04-19 19:19:55 +02:00
2008-02-06 10:41:02 -08:00
2007-10-17 20:26:18 +02:00
2008-04-24 23:15:44 +02:00
2007-10-17 20:32:07 +02:00
2008-04-26 17:35:46 +02:00
2007-10-17 20:32:38 +02:00
2008-01-30 13:32:39 +01:00