mailing list of musl libc
 help / color / mirror / code / Atom feed
ece0f5b19456b69ebe6d16246665cfe56e0647fc blob 462 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
#if __XCHAL_HAVE_S32C1I
#define a_cas a_cas
static inline int a_cas(volatile int *p, int t, int s)
{
	__asm__ __volatile__ (
		"	wsr	%2, scompare1\n"
		"	s32c1i	%0, %1\n"
		: "+a"(s), "+m"(*p)
		: "a"(t)
		: "memory" );
        return s;
}
#endif

#define a_barrier a_barrier
static inline void a_barrier()
{
	__asm__ __volatile__ ("memw" : : : "memory");
}

#define a_crash a_crash
static inline void a_crash()
{
	__asm__ __volatile__ ("ill" : : : "memory");
}
debug log:

solving ece0f5b19456 ...
found ece0f5b19456 in https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/ ||
	https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/

applying [1/2] https://inbox.vuxu.org/musl/20240328200319.4016902-2-jcmvbkbc@gmail.com/
diff --git a/arch/xtensa/atomic_arch.h b/arch/xtensa/atomic_arch.h
new file mode 100644
index 000000000000..ece0f5b19456

Checking patch arch/xtensa/atomic_arch.h...
Applied patch arch/xtensa/atomic_arch.h cleanly.

skipping https://inbox.vuxu.org/musl/20240506180112.1045944-2-jcmvbkbc@gmail.com/ for ece0f5b19456
index at:
100644 ece0f5b19456b69ebe6d16246665cfe56e0647fc	arch/xtensa/atomic_arch.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).