#include "xed-encode.h"
#include "xed-encode-private.h"
#include "xed-encode-isa-functions.h"
#include "xed-tables-extern.h"
#include "xed-operand-accessors.h"
static xed_bool_t
xed_encode_nonterminal_INSTRUCTIONS(xed_encoder_request_t* r)
{
xed_iclass_enum_t iclass;
xed_encode_function_pointer_t bind_func;
iclass = xed_encoder_request_get_iclass(r);
bind_func = xed_encoder_get_group_encoding_function(iclass);
if (bind_func) {
xed_bool_t okay = (*bind_func)(r);
return okay;
}
return 0;
}
xed_bool_t
xed_encode_nonterminal_INSTRUCTIONS_BIND(xed_encoder_request_t* xes)
{
return xed_encode_nonterminal_INSTRUCTIONS(xes);
}
xed_bool_t
xed_encode_nonterminal_INSTRUCTIONS_EMIT(xed_encoder_request_t* xes)
{
xed_ptrn_func_ptr_t emit_ptrn_function;
emit_ptrn_function = xed_encoder_get_emit_ptrn(xes);
(*emit_ptrn_function)(xes);
return 1;
}