This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/2] [ARC] Update ARC opcode table
- From: Simon Marchi <simon dot marchi at efficios dot com>
- To: Claudiu Zissulescu <claziss at gmail dot com>, binutils at sourceware dot org
- Date: Sun, 25 Aug 2019 18:25:44 -0400
- Subject: Re: [PATCH 1/2] [ARC] Update ARC opcode table
- Dkim-filter: OpenDKIM Filter v2.10.3 mail.efficios.com E6C1C2AF889
- References: <20190724135259.30063-1-claziss@gmail.com>
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