sstep.h (50b80a12e4ccff46d53b93754d817acd98bc9ae0) sstep.h (74c6881019b7d56c327fffc268d97adb5eb1b4f9)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2004 Paul Mackerras <paulus@au.ibm.com>, IBM
4 */
5#include <asm/inst.h>
6
7struct pt_regs;
8

--- 35 unchanged lines hidden (view full) ---

44 MTMSR,
45 RFI,
46 INTERRUPT,
47 UNKNOWN
48};
49
50#define INSTR_TYPE_MASK 0x1f
51
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * Copyright (C) 2004 Paul Mackerras <paulus@au.ibm.com>, IBM
4 */
5#include <asm/inst.h>
6
7struct pt_regs;
8

--- 35 unchanged lines hidden (view full) ---

44 MTMSR,
45 RFI,
46 INTERRUPT,
47 UNKNOWN
48};
49
50#define INSTR_TYPE_MASK 0x1f
51
52#define OP_IS_LOAD(type) ((LOAD <= (type) && (type) <= LOAD_VSX) || (type) == LARX)
53#define OP_IS_STORE(type) ((STORE <= (type) && (type) <= STORE_VSX) || (type) == STCX)
52#define OP_IS_LOAD_STORE(type) (LOAD <= (type) && (type) <= STCX)
53
54/* Compute flags, ORed in with type */
55#define SETREG 0x20
56#define SETCC 0x40
57#define SETXER 0x80
58
59/* Branch flags, ORed in with type */

--- 114 unchanged lines hidden ---
54#define OP_IS_LOAD_STORE(type) (LOAD <= (type) && (type) <= STCX)
55
56/* Compute flags, ORed in with type */
57#define SETREG 0x20
58#define SETCC 0x40
59#define SETXER 0x80
60
61/* Branch flags, ORed in with type */

--- 114 unchanged lines hidden ---