2 * Quadword loads and stores
3 * for use in instruction emulation.
5 * Copyright 2017 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com>
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version
10 * 2 of the License, or (at your option) any later version.
13 #include <asm/processor.h>
14 #include <asm/ppc_asm.h>
15 #include <asm/ppc-opcode.h>
17 #include <asm/asm-offsets.h>
18 #include <linux/errno.h>
20 /* do_lq(unsigned long ea, unsigned long *regs) */
31 /* do_stq(unsigned long ea, unsigned long val0, unsigned long val1) */
40 /* do_lqarx(unsigned long ea, unsigned long *regs) */
42 1: PPC_LQARX(6, 0, 3, 0)
51 /* do_stqcx(unsigned long ea, unsigned long val0, unsigned long val1,