>>>>> "Nick" == Nick Piggin <nickpiggin@yahoo.com.au> writes: Nick> Hi David, [BTW. can you retain cc lists, please?] Nick> On Thursday 25 October 2007 14:29, David Schwartz wrote:Nick> A *conditional* store should no be a problem. Nick> However the funny trick of doing this conditional add Nick> (implemented with unconditional store), is what is going to Nick> cause breakage. Nick> On the CPUs where predicated instructions are a big win, I'd Nick> expect they should also implement a conditional store for use Nick> here. However they might be slower than an unconditional store Nick> (eg. x86's cmov), and in those cases, gcc might just do the Nick> non-conditional store. Nick> This is not just a question of data that you were going to use Nick> anyway. gcc generates memory accesses to locations that would Nick> never be accessed Even stores. It is basically impossible to say Nick> that this is a real performance win. Even on single threaded Nick> code: consider that cache misses take the vast majority of time Nick> in many loads, which gives a little hint that maybe it's a bad Nick> idea to do this ;) Nick> I'd never say the optimisation would always be useless. But it's Nick> a nasty thing to have on by default, and apparently even with no Nick> good way to supress it even if we want to. Nick> Either way, I think we really need a way to turn it off for Nick> Linux. -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/ -
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Andrew Morton | Re: 2.6.23-rc6-mm1 |
| Luciano Rocha | usb hdd problems with 2.6.27.2 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| David Miller | [GIT]: Networking |
| Jarek Poplawski | [PATCH take 2] pkt_sched: Protect gen estimators under est_lock. |
