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

claziss@gmail.com claziss@gmail.com
Fri Aug 30 08:36:00 GMT 2019


Hi Simon,

Indeed was an issue. Fixed (and pushed) by the attached commit.

Thank you,
Claudiu

On Sun, 2019-08-25 at 18:25 -0400, Simon Marchi wrote:
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARC-COMMITTED-Fix-FASTMATH-field.patch
Type: text/x-patch
Size: 1378 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20190830/a1f987f6/attachment.bin>


More information about the Binutils mailing list