Re: [PATCH] sparc64: simple microoptimizations for atomic functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mikulas Patocka <mpatocka@xxxxxxxxxx>
Date: Thu, 19 Aug 2010 09:42:55 -0400 (EDT)

>>  #define BACKOFF_SETUP(reg)
>> -#define BACKOFF_SPIN(reg, tmp, label) \
>> -	ba,pt	%xcc, label; \
>> -	 nop;
> 
> I'm just curious, is there some good reason to place nop in the delay slot 
> instead of the anul bit? --- i.e. some inefficiency or bugs?

It's definitely slower on pre-Niagara cpus.

> BTW, I found a missing delay slot.

Good catch, I'll apply this, thanks!
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux