public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* __cmpxchg_u64 and llsc/LLSC_WAR
@ 2006-04-14  8:28 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2006-04-14  8:28 UTC (permalink / raw)
  To: linux-kernel, linux-mips

Hi,

In linux/include/asm-mips/system.h:__cmpxchg_u64(), one can read

	if (cpu_has_llsc) {
		asm(stuff with beqzl);
	} else if (cpu_has_llsc) {
		asm(stuff with beqz);
	} else {
		C code;
	}

There's no test for "LLSC_WAR", is that on purpose? (i.e.. is beqzl
always needed rather than beqz?)

Regards,
Samuel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-14  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-14  8:28 __cmpxchg_u64 and llsc/LLSC_WAR Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox