This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]