Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc: Sort and de-dup primary opcodes in ppc-opcode.h

Some of the primary opcodes are duplicated. Remove those, and sort the
rest of the primary opcodes to make it easy to read.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a05edf638a2638d708fc2db0272f6317837b5eab.1648648712.git.naveen.n.rao@linux.vnet.ibm.com

authored by

Naveen N. Rao and committed by
Michael Ellerman
f31c6183 1fd02f66

+31 -38
+31 -38
arch/powerpc/include/asm/ppc-opcode.h
··· 127 127 128 128 129 129 /* opcode and xopcode for instructions */ 130 - #define OP_TRAP 3 131 - #define OP_TRAP_64 2 130 + #define OP_PREFIX 1 131 + #define OP_TRAP_64 2 132 + #define OP_TRAP 3 133 + #define OP_31 31 134 + #define OP_LWZ 32 135 + #define OP_LWZU 33 136 + #define OP_LBZ 34 137 + #define OP_LBZU 35 138 + #define OP_STW 36 139 + #define OP_STWU 37 140 + #define OP_STB 38 141 + #define OP_STBU 39 142 + #define OP_LHZ 40 143 + #define OP_LHZU 41 144 + #define OP_LHA 42 145 + #define OP_LHAU 43 146 + #define OP_STH 44 147 + #define OP_STHU 45 148 + #define OP_LMW 46 149 + #define OP_STMW 47 150 + #define OP_LFS 48 151 + #define OP_LFSU 49 152 + #define OP_LFD 50 153 + #define OP_LFDU 51 154 + #define OP_STFS 52 155 + #define OP_STFSU 53 156 + #define OP_STFD 54 157 + #define OP_STFDU 55 158 + #define OP_LQ 56 159 + #define OP_LD 58 160 + #define OP_STD 62 132 161 133 162 #define OP_31_XOP_TRAP 4 134 163 #define OP_31_XOP_LDX 21 ··· 236 207 237 208 /* VMX Vector Store Instructions */ 238 209 #define OP_31_XOP_STVX 231 239 - 240 - /* Prefixed Instructions */ 241 - #define OP_PREFIX 1 242 - 243 - #define OP_31 31 244 - #define OP_LWZ 32 245 - #define OP_STFS 52 246 - #define OP_STFSU 53 247 - #define OP_STFD 54 248 - #define OP_STFDU 55 249 - #define OP_LD 58 250 - #define OP_LWZU 33 251 - #define OP_LBZ 34 252 - #define OP_LBZU 35 253 - #define OP_STW 36 254 - #define OP_STWU 37 255 - #define OP_STD 62 256 - #define OP_STB 38 257 - #define OP_STBU 39 258 - #define OP_LHZ 40 259 - #define OP_LHZU 41 260 - #define OP_LHA 42 261 - #define OP_LHAU 43 262 - #define OP_STH 44 263 - #define OP_STHU 45 264 - #define OP_LMW 46 265 - #define OP_STMW 47 266 - #define OP_LFS 48 267 - #define OP_LFSU 49 268 - #define OP_LFD 50 269 - #define OP_LFDU 51 270 - #define OP_STFS 52 271 - #define OP_STFSU 53 272 - #define OP_STFD 54 273 - #define OP_STFDU 55 274 - #define OP_LQ 56 275 210 276 211 /* sorted alphabetically */ 277 212 #define PPC_INST_BCCTR_FLUSH 0x4c400420