mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
[x86] Allow segment and address-size overrides for LODS[BWLQ] (PR9385)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -409,7 +409,8 @@ struct ContextDecision {
|
||||
ENUM_ENTRY(ENCODING_Rv, "Register code of operand size added to the " \
|
||||
"opcode byte") \
|
||||
ENUM_ENTRY(ENCODING_DUP, "Duplicate of another operand; ID is encoded " \
|
||||
"in type")
|
||||
"in type") \
|
||||
ENUM_ENTRY(ENCODING_SI, "Source index; encoded in OpSize/Adsize prefix")
|
||||
|
||||
#define ENUM_ENTRY(n, d) n,
|
||||
typedef enum {
|
||||
@ -460,6 +461,10 @@ struct ContextDecision {
|
||||
ENUM_ENTRY(TYPE_M16_16, "2+2-byte (BOUND)") \
|
||||
ENUM_ENTRY(TYPE_M32_32, "4+4-byte (BOUND)") \
|
||||
ENUM_ENTRY(TYPE_M16_64, "2+8-byte (LIDT, LGDT)") \
|
||||
ENUM_ENTRY(TYPE_SRCIDX8, "1-byte memory at source index") \
|
||||
ENUM_ENTRY(TYPE_SRCIDX16, "2-byte memory at source index") \
|
||||
ENUM_ENTRY(TYPE_SRCIDX32, "4-byte memory at source index") \
|
||||
ENUM_ENTRY(TYPE_SRCIDX64, "8-byte memory at source index") \
|
||||
ENUM_ENTRY(TYPE_MOFFS8, "1-byte memory offset (relative to segment " \
|
||||
"base)") \
|
||||
ENUM_ENTRY(TYPE_MOFFS16, "2-byte") \
|
||||
|
Reference in New Issue
Block a user