login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
21
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: [PATCH v3] x86: merge the simple bitops and move them to bitops.h
Date: Friday, March 21, 2008 - 5:35 am
* Alexander van Heukelum <heukelum@mailshack.com> wrote:
quoted text
> 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.
thanks Alexander, applied. Ingo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86: merge the simple bitops and move them to bitops.h
, Alexander van Heukelum
, (Wed Mar 12, 1:01 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Jeremy Fitzhardinge
, (Fri Mar 14, 11:07 am)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Alexander van Heukelum
, (Fri Mar 14, 12:43 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Andi Kleen
, (Fri Mar 14, 12:55 pm)
[PATCH v2] x86: merge the simple bitops and move them to b ...
, Alexander van Heukelum
, (Fri Mar 14, 1:35 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Jeremy Fitzhardinge
, (Fri Mar 14, 2:15 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Alexander van Heukelum
, (Fri Mar 14, 2:33 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Andi Kleen
, (Fri Mar 14, 2:42 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Alexander van Heukelum
, (Fri Mar 14, 3:01 pm)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Andi Kleen
, (Fri Mar 14, 3:18 pm)
Re: [PATCH v2] x86: merge the simple bitops and move them ...
, Randy Dunlap
, (Fri Mar 14, 4:30 pm)
[PATCH v3] x86: merge the simple bitops and move them to b ...
, Alexander van Heukelum
, (Sat Mar 15, 5:04 am)
Re: [PATCH] x86: merge the simple bitops and move them to ...
, Alexander van Heukelum
, (Sat Mar 15, 10:54 am)
K8, EFFICEON and CORE2 support the cmovxx instructions.
, Alexander van Heukelum
, (Sat Mar 15, 12:19 pm)
Re: K8, EFFICEON and CORE2 support the cmovxx instructions.
, H. Peter Anvin
, (Sat Mar 15, 1:18 pm)
Re: K8, EFFICEON and CORE2 support the cmovxx instructions.
, Alexander van Heukelum
, (Sat Mar 15, 2:06 pm)
Re: K8, EFFICEON and CORE2 support the cmovxx instructions.
, Willy Tarreau
, (Sat Mar 15, 2:11 pm)
[PATCH] x86: K8, GEODE_LX, CRUSOE, EFFICEON and CORE2 supp ...
, Alexander van Heukelum
, (Sun Mar 16, 6:16 am)
Re: [PATCH v3] x86: merge the simple bitops and move them ...
, Ingo Molnar
, (Fri Mar 21, 5:35 am)
Re: [PATCH] x86: K8, GEODE_LX, CRUSOE, EFFICEON and CORE2 ...
, Ingo Molnar
, (Fri Mar 21, 5:38 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Rientjes
Re: [take4] OOM documentation update [was: Linux killed Kenny, bastard!]
hooanon05
[PATCH 34/67] aufs lookup and dentry operations, header
Matthew Wilcox
Re: 2.6.22-rc3-mm1
David Schwartz
RE: how about mutual compatibility between Linux's GPLv2 and GPLv3?
Eduard - Gabriel Munteanu
Re: [PATCH] relay: add buffer-only functionality, allowing for early kernel tracing
git
:
Eric Wong
[PATCH/RFC] Add git-instaweb, instantly browse the working repo with gitweb
Johan Herland
Submitting patches to the User's Manual.
Miles Bader
Re: git diff woes
Johannes Schindelin
Re: [PATCH 05/21] Make parse_tag_buffer_internal() handle item == NULL
Johannes Sixt
Re: [PATCH] Fix handle leak in builtin-pack-objects
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
x86: delay early cpu initialization until cpuid is done
Linux Kernel Mailing List
rt2x00: Move firmware checksumming to driver
Linux Kernel Mailing List
PCI: fix kernel oops on bridge removal
Linux Kernel Mailing List
rtl8187: use DMA-aware buffers with usb_control_msg
linux-netdev
:
Richard Cochran
Re: [PATCH v3 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
David Miller
Re: [RFC] bridge: STP timer management range checking
Herbert Xu
Re: [RFC PATCH 00/17] virtual-bus
Evgeniy Polyakov
Re: [PATCH v2] tcp: splice as many packets as possible at once
David Dillow
Re: [PATCH] r8169: Reduce looping in the interrupt handler.
freebsd-current
:
Andrey
Re: RELENG_7 and HEAD: bge causes system hang
韓家標 Bill Hacker
Re: ZFS honesty
Robert Watson
Re: panic: Lock so_rcv_sx not exclusively locked
samira
sata atapi on ich9r
JoaoBR
Re: I like my rc.d boot messages :(
Colocation donated by:
Syndicate