mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 06:18:42 +00:00
opcodes for encoding partial values
This commit is contained in:
@@ -92,7 +92,7 @@ RDI_U8 rdi_section_is_required_table[37] =
|
|||||||
0,
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
RDI_U16 rdi_eval_op_ctrlbits_table[50] =
|
RDI_U16 rdi_eval_op_ctrlbits_table[52] =
|
||||||
{
|
{
|
||||||
RDI_EVAL_CTRLBITS(0, 0, 0),
|
RDI_EVAL_CTRLBITS(0, 0, 0),
|
||||||
RDI_EVAL_CTRLBITS(0, 0, 0),
|
RDI_EVAL_CTRLBITS(0, 0, 0),
|
||||||
@@ -143,6 +143,8 @@ RDI_EVAL_CTRLBITS(1, 0, 0),
|
|||||||
RDI_EVAL_CTRLBITS(1, 2, 1),
|
RDI_EVAL_CTRLBITS(1, 2, 1),
|
||||||
RDI_EVAL_CTRLBITS(1, 1, 1),
|
RDI_EVAL_CTRLBITS(1, 1, 1),
|
||||||
RDI_EVAL_CTRLBITS(4, 0, 0),
|
RDI_EVAL_CTRLBITS(4, 0, 0),
|
||||||
|
RDI_EVAL_CTRLBITS(4, 0, 0),
|
||||||
|
RDI_EVAL_CTRLBITS(8, 0, 0),
|
||||||
RDI_EVAL_CTRLBITS(0, 0, 0),
|
RDI_EVAL_CTRLBITS(0, 0, 0),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -489,7 +489,9 @@ RDI_EvalOp_Insert = 45,
|
|||||||
RDI_EvalOp_ValueRead = 46,
|
RDI_EvalOp_ValueRead = 46,
|
||||||
RDI_EvalOp_ByteSwap = 47,
|
RDI_EvalOp_ByteSwap = 47,
|
||||||
RDI_EvalOp_CallSiteValue = 48,
|
RDI_EvalOp_CallSiteValue = 48,
|
||||||
RDI_EvalOp_COUNT = 49,
|
RDI_EvalOp_PartialValue = 49,
|
||||||
|
RDI_EvalOp_PartialValueBit = 50,
|
||||||
|
RDI_EvalOp_COUNT = 51,
|
||||||
} RDI_EvalOpEnum;
|
} RDI_EvalOpEnum;
|
||||||
|
|
||||||
typedef RDI_U8 RDI_EvalTypeGroup;
|
typedef RDI_U8 RDI_EvalTypeGroup;
|
||||||
@@ -1068,6 +1070,8 @@ X(Insert)\
|
|||||||
X(ValueRead)\
|
X(ValueRead)\
|
||||||
X(ByteSwap)\
|
X(ByteSwap)\
|
||||||
X(CallSiteValue)\
|
X(CallSiteValue)\
|
||||||
|
X(PartialValue)\
|
||||||
|
X(PartialValueBit)\
|
||||||
|
|
||||||
#define RDI_EvalTypeGroup_XList \
|
#define RDI_EvalTypeGroup_XList \
|
||||||
X(Other)\
|
X(Other)\
|
||||||
@@ -1539,6 +1543,6 @@ RDI_PROC RDI_U8 *rdi_explanation_string_from_eval_conversion_kind(RDI_EvalConver
|
|||||||
|
|
||||||
extern RDI_U16 rdi_section_element_size_table[37];
|
extern RDI_U16 rdi_section_element_size_table[37];
|
||||||
extern RDI_U8 rdi_section_is_required_table[37];
|
extern RDI_U8 rdi_section_is_required_table[37];
|
||||||
extern RDI_U16 rdi_eval_op_ctrlbits_table[50];
|
extern RDI_U16 rdi_eval_op_ctrlbits_table[52];
|
||||||
|
|
||||||
#endif // RDI_FORMAT_H
|
#endif // RDI_FORMAT_H
|
||||||
|
|||||||
@@ -1294,7 +1294,9 @@ RDI_EvalOpTable:
|
|||||||
{ValueRead 46 1 2 1}
|
{ValueRead 46 1 2 1}
|
||||||
{ByteSwap 47 1 1 1}
|
{ByteSwap 47 1 1 1}
|
||||||
{CallSiteValue 48 4 0 0}
|
{CallSiteValue 48 4 0 0}
|
||||||
{COUNT 49 0 0 0}
|
{PartialValue 49 4 0 0}
|
||||||
|
{PartialValueBit 50 8 0 0}
|
||||||
|
{COUNT 51 0 0 0}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE(rjf): "ck" -> "conversion kind, when converted to type group", used in square matrix form
|
// NOTE(rjf): "ck" -> "conversion kind, when converted to type group", used in square matrix form
|
||||||
|
|||||||
Reference in New Issue
Block a user