[PATCH 1/2] [ARC] Update ARC opcode table

Simon Marchi simon.marchi@efficios.com
Sun Aug 25 22:25:00 GMT 2019


On 2019-07-24 9:52 a.m., Claudiu Zissulescu wrote:
> Update ARC opcode table by cleaning up invalid instructions, and fixing wrong encodings.

Hi Claudiu,

This commit causes these errors when compiling with clang:

/home/smarchi/src/binutils-gdb/opcodes/arc-tbl.h:7633:87: error: implicit conversion from enumeration type 'insn_class_t' to different enumeration type 'insn_subclass_t' [-Werror,-Wenum-conversion]
{ "fmp_adds", 0x3E227FBE, 0xFFFF7FFF, ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, FASTMATH, { ZA, LIMM, LIMMdup }, { C_F }},

Is it expected that we put an insn_class_t (FASTMATH) in an insn_subclass_t field?

Simon



More information about the Binutils mailing list