Home
last modified time | relevance | path

Searched refs:asm_op (Results 1 – 10 of 10) sorted by relevance

/linux/arch/arc/include/asm/
A Datomic-llsc.h8 #define ATOMIC_OP(op, c_op, asm_op) \ argument
15 " " #asm_op " %[val], %[val], %[i] \n" \
31 " " #asm_op " %[val], %[val], %[i] \n" \
52 " " #asm_op " %[val], %[orig], %[i] \n" \
72 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
73 ATOMIC_OP(op, c_op, asm_op) \
74 ATOMIC_OP_RETURN(op, c_op, asm_op) \
75 ATOMIC_FETCH_OP(op, c_op, asm_op)
81 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
82 ATOMIC_OP(op, c_op, asm_op) \
[all …]
A Datomic-spinlock.h31 #define ATOMIC_OP(op, c_op, asm_op) \ argument
41 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument
59 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument
76 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
77 ATOMIC_OP(op, c_op, asm_op) \
78 ATOMIC_OP_RETURN(op, c_op, asm_op) \
79 ATOMIC_FETCH_OP(op, c_op, asm_op)
85 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
86 ATOMIC_OP(op, c_op, asm_op) \
87 ATOMIC_FETCH_OP(op, c_op, asm_op)
/linux/arch/powerpc/include/asm/
A Datomic.h40 #define ATOMIC_OP(op, asm_op) \ argument
47 #asm_op " %0,%2,%0\n" \
62 #asm_op " %0,%2,%0\n" \
79 #asm_op " %1,%3,%0\n" \
90 ATOMIC_OP(op, asm_op) \
105 ATOMIC_OP(op, asm_op) \ in ATOMIC_OPS()
340 #asm_op " %0,%2,%0\n" \
356 #asm_op " %0,%2,%0\n" \
374 #asm_op " %1,%3,%0\n" \
385 ATOMIC64_OP(op, asm_op) \
[all …]
/linux/arch/m68k/include/asm/
A Datomic.h32 #define ATOMIC_OP(op, c_op, asm_op) \ argument
40 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument
47 " " #asm_op "l %3,%1\n" \
62 " " #asm_op "l %3,%1\n" \
101 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
102 ATOMIC_OP(op, c_op, asm_op) \
103 ATOMIC_OP_RETURN(op, c_op, asm_op) \
104 ATOMIC_FETCH_OP(op, c_op, asm_op)
110 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
111 ATOMIC_OP(op, c_op, asm_op) \
[all …]
/linux/arch/riscv/include/asm/
A Datomic.h59 " amo" #asm_op "." #asm_type " zero, %1, %0" \
66 #define ATOMIC_OPS(op, asm_op, I) \ argument
67 ATOMIC_OP (op, asm_op, I, w, int, )
69 #define ATOMIC_OPS(op, asm_op, I) \ argument
70 ATOMIC_OP (op, asm_op, I, w, int, ) \
71 ATOMIC_OP (op, asm_op, I, d, s64, 64)
95 " amo" #asm_op "." #asm_type " %1, %2, %0" \ in ATOMIC_OPS()
127 #define ATOMIC_OPS(op, asm_op, c_op, I) \ argument
131 #define ATOMIC_OPS(op, asm_op, c_op, I) \
166 #define ATOMIC_OPS(op, asm_op, I) \ argument
[all …]
/linux/arch/alpha/include/asm/
A Datomic.h41 #define ATOMIC_OP(op, asm_op) \ argument
47 " " #asm_op " %0,%2,%0\n" \
63 " " #asm_op " %0,%3,%2\n" \
64 " " #asm_op " %0,%3,%0\n" \
76 #define ATOMIC_FETCH_OP(op, asm_op) \ argument
82 " " #asm_op " %2,%3,%0\n" \
94 #define ATOMIC64_OP(op, asm_op) \ argument
100 " " #asm_op " %0,%2,%0\n" \
117 " " #asm_op " %0,%3,%2\n" \
118 " " #asm_op " %0,%3,%0\n" \
[all …]
/linux/arch/arm64/include/asm/
A Datomic_lse.h13 #define ATOMIC_OP(op, asm_op) \ argument
18 " " #asm_op " %w[i], %[v]\n" \
35 " " #asm_op #mb " %w[i], %w[i], %[v]" \ in ATOMIC_OP()
43 #define ATOMIC_FETCH_OPS(op, asm_op) \ argument
44 ATOMIC_FETCH_OP(_relaxed, , op, asm_op) \
47 ATOMIC_FETCH_OP( , al, op, asm_op, "memory")
166 #define ATOMIC64_OP(op, asm_op) \ argument
171 " " #asm_op " %[i], %[v]\n" \
188 " " #asm_op #mb " %[i], %[i], %[v]" \ in ATOMIC64_OP()
196 #define ATOMIC64_FETCH_OPS(op, asm_op) \ argument
[all …]
A Datomic_ll_sc.h38 #define ATOMIC_OP(op, asm_op, constraint) \ argument
49 " " #asm_op " %w0, %w0, %w3\n" \
56 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
67 " " #asm_op " %w0, %w0, %w3\n" \
78 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ argument
89 " " #asm_op " %w1, %w0, %w4\n" \
137 #define ATOMIC64_OP(op, asm_op, constraint) \ in ATOMIC_OPS() argument
148 " " #asm_op " %0, %0, %3\n" \ in ATOMIC_OPS()
166 " " #asm_op " %0, %0, %3\n" \
177 #define ATOMIC64_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
[all …]
/linux/arch/mips/include/asm/
A Datomic.h56 #define ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \ argument
75 " " #asm_op " %0, %2 \n" \
105 " " #asm_op " %0, %1, %3 \n" \
108 " " #asm_op " %0, %1, %3 \n" \
138 " " #asm_op " %0, %1, %3 \n" \
151 #define ATOMIC_OPS(pfx, op, type, c_op, asm_op, ll, sc) \ argument
152 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
153 ATOMIC_OP_RETURN(pfx, op, type, c_op, asm_op, ll, sc) \
154 ATOMIC_FETCH_OP(pfx, op, type, c_op, asm_op, ll, sc)
175 ATOMIC_OP(pfx, op, type, c_op, asm_op, ll, sc) \
[all …]
/linux/arch/arm/include/asm/
A Datomic.h36 #define ATOMIC_OP(op, c_op, asm_op) \ argument
45 " " #asm_op " %0, %0, %4\n" \
64 " " #asm_op " %0, %0, %4\n" \
85 " " #asm_op " %1, %0, %5\n" \
162 #define ATOMIC_OP(op, c_op, asm_op) \ argument
218 #define ATOMIC_OPS(op, c_op, asm_op) \ argument
219 ATOMIC_OP(op, c_op, asm_op) \
220 ATOMIC_OP_RETURN(op, c_op, asm_op) \
221 ATOMIC_FETCH_OP(op, c_op, asm_op)
230 ATOMIC_OP(op, c_op, asm_op) \
[all …]

Completed in 14 milliseconds