/Linux-v5.10/arch/arc/include/asm/ |
D | futex.h | 18 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ macro 46 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg)\ macro 87 __futex_atomic_op("mov %0, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 91 __futex_atomic_op("add %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 94 __futex_atomic_op("or %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 97 __futex_atomic_op("bic %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 100 __futex_atomic_op("xor %0, %1, %3", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/xtensa/include/asm/ |
D | futex.h | 20 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ macro 44 #define __futex_atomic_op(insn, ret, old, uaddr, arg) \ macro 80 __futex_atomic_op("mov %[newval], %[oparg]", in arch_futex_atomic_op_inuser() 84 __futex_atomic_op("add %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser() 88 __futex_atomic_op("or %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser() 92 __futex_atomic_op("and %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser() 96 __futex_atomic_op("xor %[newval], %[oldval], %[oparg]", in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/openrisc/include/asm/ |
D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 43 __futex_atomic_op("l.or %1,%4,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 46 __futex_atomic_op("l.add %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 49 __futex_atomic_op("l.or %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 52 __futex_atomic_op("l.and %1,%0,%4", ret, oldval, uaddr, ~oparg); in arch_futex_atomic_op_inuser() 55 __futex_atomic_op("l.xor %1,%0,%4", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/hexagon/include/asm/ |
D | futex.h | 13 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 44 __futex_atomic_op("%1 = %4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 47 __futex_atomic_op("%1 = add(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser() 51 __futex_atomic_op("%1 = or(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser() 55 __futex_atomic_op("%1 = not(%4); %1 = and(%0,%1)\n", ret, in arch_futex_atomic_op_inuser() 59 __futex_atomic_op("%1 = xor(%0,%4)\n", ret, oldval, uaddr, in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/microblaze/include/asm/ |
D | futex.h | 11 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 42 __futex_atomic_op("or %1,%4,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 45 __futex_atomic_op("add %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 48 __futex_atomic_op("or %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 51 __futex_atomic_op("andn %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 54 __futex_atomic_op("xor %1,%0,%4;", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/alpha/include/asm/ |
D | futex.h | 12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 39 __futex_atomic_op("mov %3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 42 __futex_atomic_op("addl %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 45 __futex_atomic_op("or %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 48 __futex_atomic_op("andnot %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 51 __futex_atomic_op("xor %0,%3,%1\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/nds32/include/asm/ |
D | futex.h | 22 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ macro 73 __futex_atomic_op("move %0, %3", ret, oldval, tmp, uaddr, in arch_futex_atomic_op_inuser() 77 __futex_atomic_op("add %0, %1, %3", ret, oldval, tmp, uaddr, in arch_futex_atomic_op_inuser() 81 __futex_atomic_op("or %0, %1, %3", ret, oldval, tmp, uaddr, in arch_futex_atomic_op_inuser() 85 __futex_atomic_op("and %0, %1, %3", ret, oldval, tmp, uaddr, in arch_futex_atomic_op_inuser() 89 __futex_atomic_op("xor %0, %1, %3", ret, oldval, tmp, uaddr, in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/s390/include/asm/ |
D | futex.h | 10 #define __futex_atomic_op(insn, ret, oldval, newval, uaddr, oparg) \ macro 34 __futex_atomic_op("lr %2,%5\n", in arch_futex_atomic_op_inuser() 38 __futex_atomic_op("lr %2,%1\nar %2,%5\n", in arch_futex_atomic_op_inuser() 42 __futex_atomic_op("lr %2,%1\nor %2,%5\n", in arch_futex_atomic_op_inuser() 46 __futex_atomic_op("lr %2,%1\nnr %2,%5\n", in arch_futex_atomic_op_inuser() 50 __futex_atomic_op("lr %2,%1\nxr %2,%5\n", in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | futex.h | 12 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 42 __futex_atomic_op("mr %1,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 45 __futex_atomic_op("add %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 48 __futex_atomic_op("or %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 51 __futex_atomic_op("andc %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 54 __futex_atomic_op("xor %1,%0,%4\n", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/riscv/include/asm/ |
D | futex.h | 21 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 54 __futex_atomic_op("amoswap.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser() 58 __futex_atomic_op("amoadd.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser() 62 __futex_atomic_op("amoor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser() 66 __futex_atomic_op("amoand.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser() 70 __futex_atomic_op("amoxor.w.aqrl %[ov],%z[op],%[u]", in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/arm/include/asm/ |
D | futex.h | 25 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ macro 84 #define __futex_atomic_op(insn, ret, oldval, tmp, uaddr, oparg) \ macro 146 __futex_atomic_op("mov %0, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser() 149 __futex_atomic_op("add %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser() 152 __futex_atomic_op("orr %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser() 155 __futex_atomic_op("and %0, %1, %4", ret, oldval, tmp, uaddr, ~oparg); in arch_futex_atomic_op_inuser() 158 __futex_atomic_op("eor %0, %1, %4", ret, oldval, tmp, uaddr, oparg); in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | futex.h | 15 #define __futex_atomic_op(insn, ret, oldval, uaddr, tmp, oparg) \ macro 56 __futex_atomic_op("mov %w3, %w5", in arch_futex_atomic_op_inuser() 60 __futex_atomic_op("add %w3, %w1, %w5", in arch_futex_atomic_op_inuser() 64 __futex_atomic_op("orr %w3, %w1, %w5", in arch_futex_atomic_op_inuser() 68 __futex_atomic_op("and %w3, %w1, %w5", in arch_futex_atomic_op_inuser() 72 __futex_atomic_op("eor %w3, %w1, %w5", in arch_futex_atomic_op_inuser()
|
/Linux-v5.10/arch/mips/include/asm/ |
D | futex.h | 22 #define __futex_atomic_op(insn, ret, oldval, uaddr, oparg) \ macro 97 __futex_atomic_op("move $1, %z5", ret, oldval, uaddr, oparg); in arch_futex_atomic_op_inuser() 101 __futex_atomic_op("addu $1, %1, %z5", in arch_futex_atomic_op_inuser() 105 __futex_atomic_op("or $1, %1, %z5", in arch_futex_atomic_op_inuser() 109 __futex_atomic_op("and $1, %1, %z5", in arch_futex_atomic_op_inuser() 113 __futex_atomic_op("xor $1, %1, %z5", in arch_futex_atomic_op_inuser()
|