We no longer encode flags in the aarch64_hint_options value field, so
delete the HINT_VAL, HINT_FLAG and HINT_ENCODE macros.
for (i = 0; aarch64_hint_options[i].name != NULL; i++)
{
- if (hint_number == HINT_VAL (aarch64_hint_options[i].value))
+ if (hint_number == aarch64_hint_options[i].value)
{
info->hint_option = &(aarch64_hint_options[i]);
return true;
#define F_REG_MAX_VALUE(X) ((X) << 15)
#define F_GET_REG_MAX_VALUE(X) (((X) >> 15) & 0x0f)
-/* Encode 7-bit HINT #imm in the lower 8 bits. Use higher bits for flags. */
-#define HINT_ENCODE(flag, val) ((flag << 8) | val)
-#define HINT_FLAG(val) (val >> 8)
-#define HINT_VAL(val) (val & 0xff)
-
static inline bool
operand_has_inserter (const aarch64_operand *operand)
{