Debian Codegraph @

src/main/java/com/kenai/jnr/x86asm/InstructionGroup.java

raw
1 //
2 // Copyright (C) 2010 Wayne Meissner
3 // Copyright (c) 2008-2009, Petr Kobalicek <[email protected]>
4 //
5 // Permission is hereby granted, free of charge, to any person
6 // obtaining a copy of this software and associated documentation
7 // files (the "Software"), to deal in the Software without
8 // restriction, including without limitation the rights to use,
9 // copy, modify, merge, publish, distribute, sublicense, and/or sell
10 // copies of the Software, and to permit persons to whom the
11 // Software is furnished to do so, subject to the following
12 // conditions:
13 //
14 // The above copyright notice and this permission notice shall be
15 // included in all copies or substantial portions of the Software.
16 //
17 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19 // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24 // OTHER DEALINGS IN THE SOFTWARE.
25
26 package com.kenai.jnr.x86asm;
27
28 @Deprecated
29 public enum InstructionGroup {
30 I_EMIT,
31
32 I_ALU,
33 I_BSWAP,
34 I_BT,
35 I_CALL,
36 I_CRC32,
37 I_ENTER,
38 I_IMUL,
39 I_INC_DEC,
40 I_J,
41 I_JMP,
42 I_LEA,
43 I_M,
44 I_MOV,
45 I_MOV_PTR,
46 I_MOVSX_MOVZX,
47 I_MOVSXD,
48 I_PUSH, // I_PUSH is implemented before I_POP
49 I_POP,
50 I_R_RM,
51 I_RM_B,
52 I_RM,
53 I_RM_R,
54 I_RET,
55 I_ROT,
56 I_SHLD_SHRD,
57 I_TEST,
58 I_XCHG,
59
60 // Group for x87 FP instructions in format mem or st(i), st(i) (fadd, fsub, fdiv, ...)
61 I_X87_FPU,
62 // Group for x87 FP instructions in format st(i), st(i)
63 I_X87_STI,
64 // Group for fld/fst/fstp instruction, internally uses I_X87_MEM group.
65 I_X87_MEM_STI,
66 // Group for x87 FP instructions that uses Word, DWord, QWord or TWord memory pointer.
67 I_X87_MEM,
68 // Group for x87 FSTSW/FNSTSW instructions
69 I_X87_FSTSW,
70
71 // Group for movbe instruction
72 I_MOVBE,
73
74 // Group for MMX/SSE instructions in format (X)MM|Reg|Mem <- (X)MM|Reg|Mem,
75 // 0x66 prefix must be set manually in opcodes.
76 // - Primary opcode is used for instructions in (X)MM <- (X)MM/Mem format,
77 // - Secondary opcode is used for instructions in (X)MM/Mem <- (X)MM format.
78 I_MMU_MOV,
79
80 // Group for movd and movq instructions.
81 I_MMU_MOVD,
82 I_MMU_MOVQ,
83
84 // Group for pextrd, pextrq and pextrw instructions (it's special instruction
85 // not similar to others)
86 I_MMU_PEXTR,
87
88 // Group for prefetch instruction
89 I_MMU_PREFETCH,
90
91 // Group for MMX/SSE instructions in format (X)MM|Reg <- (X)MM|Reg|Mem|Imm,
92 // 0x66 prefix is added for MMX instructions that used by SSE2 registers.
93 // - Primary opcode is used for instructions in (X)MM|Reg <- (X)MM|Reg|Mem format,
94 // - Secondary opcode is iused for instructions in (X)MM|Reg <- Imm format.
95 I_MMU_RMI,
96 I_MMU_RM_IMM8,
97
98 // Group for 3dNow instructions
99 I_MMU_RM_3DNOW;
100 }