Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator / x86 / decoder / ncopcode_operand_flag.enum
1 # Define a set of possible opcode operand flags that can apply to an
2 # operand.
3 # Each line defines a separate operand flag.
4
5 # Operand is used
6 OpUse
7 # Operand is set
8 OpSet
9 # Operand is an address (as in LEA).
10 OpAddress
11 # Operand is implicit (rather than explicit)
12 OpImplicit
13 # When jump address, the jump is near (rather than far).
14 OperandNear
15 # When jump address, the jump is far (rather than near).
16 OperandFar
17 # When jump address, the jump is relative (rather than absolute.
18 OperandRelative
19 # Operand zero-extends 32-bit register results to 64-bits.
20 # NOTE: This is a NaCl x86-64, validator specific, flag that is used to
21 # mark operands that can be used for address masking since
22 # they zero extend. It is added only if NaCl allows it for
23 # this context. See zero_extends.c for more details on this.
24 OperandZeroExtends_v
25 # Operand sign-extends 32-bit register results to 64-bits.
26 OperandSignExtends_v
27 # Allow both G operand and opcode in modrm, as special case.
28 AllowGOperandWithOpcodeInModRm