This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH] opcodes/arc: Fix extract for some add_s instructions
- From: Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 15 Jun 2016 07:05:37 +0000
- Subject: RE: [PATCH] opcodes/arc: Fix extract for some add_s instructions
- Authentication-results: sourceware.org; auth=none
- References: <1465939334-23938-1-git-send-email-andrew dot burgess at embecosm dot com>
> - int value = 0;
> + int value = ((insn & 0x7) << 3) | ((insn >> 5) & 0x7);
>
> return value;
> }
Totally missed this one. Thanks!
Claudiu