Claudiu Zissulescu
e5b06ef06b
[ARC] Disassembler: fix LIMM detection for short instructions.
...
The ARC (short) instructions are using a special register number to
indicate is the instruction uses a long immediate (LIMM). In the case
of short instruction, this LIMM indicator depends on the ISA version
used. Thus, for ARCv1 processors, the LIMM indicator is 0x3E, the same
value used in "long" instructions. However, for the ARCv2 processors,
this LIMM indicator is 0x1E.
This patch fixes the LIMM detection for ARCv1 ISA and adds two tests.
gas/
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
* testsuite/gas/arc/shortlimm_a7.d: New file.
* testsuite/gas/arc/shortlimm_a7.s: Likewise.
* testsuite/gas/arc/shortlimm_hs.d: Likewise.
* testsuite/gas/arc/shortlimm_hs.s: Likewise.
include/
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
* opcode/arc.h (ARC_OPCODE_ARCV2): New define.
opcodes/
2016-10-13 Claudiu Zissulescu <claziss@synopsys.com>
* arc-dis.c (find_format_from_table): Discriminate LIMM indicator
usage on ISA basis.
2016-10-14 13:52:15 +02:00
..
2016-01-01 23:00:01 +10:30
2016-09-21 16:58:48 +01:00
2016-10-11 11:24:44 +01:00
2016-09-21 16:57:22 +01:00
2016-09-21 16:58:48 +01:00
2016-10-06 10:13:15 +10:30
2016-09-21 16:57:22 +01:00
2016-09-21 16:48:06 +01:00
2016-09-21 16:58:48 +01:00
2016-10-07 10:55:56 +01:00
2016-09-21 16:58:48 +01:00
2016-09-30 14:16:54 +01:00
2016-04-15 16:20:55 -07:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-10-14 13:52:15 +02:00
2016-08-24 14:23:00 +02:00
2016-09-26 16:47:17 +02:00
2016-10-06 09:39:56 +10:30
2016-06-22 12:59:58 -04:00
2016-01-01 23:00:01 +10:30
2016-07-27 15:57:18 +01:00
2016-09-26 16:47:17 +02:00
2016-04-12 10:21:06 +02:00
2016-09-26 16:47:17 +02:00
2016-10-06 10:13:15 +10:30
2016-06-09 19:00:57 +03:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-01 10:41:32 +00:00
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-03-21 16:31:46 +00:00
2016-01-01 23:00:01 +10:30
2016-10-14 13:52:15 +02:00
2015-08-12 04:45:07 -07:00
2015-08-12 04:45:07 -07:00
2014-01-08 05:32:12 -08:00
2015-01-02 00:53:45 +10:30
2016-01-01 22:59:17 +10:30
2014-07-04 13:40:28 +09:30
2016-09-26 16:36:08 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 09:36:33 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 09:36:33 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-07-20 17:08:07 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-03-02 13:35:41 +10:30
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-07-08 11:38:35 -07:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2015-07-22 13:26:21 -07:00
2016-10-06 10:13:15 +10:30
2016-09-07 09:22:19 -07:00
2016-09-07 09:22:19 -07:00
2016-01-01 23:00:01 +10:30
2016-08-24 15:29:39 -07:00
2016-08-24 15:29:39 -07:00
2016-01-01 23:00:01 +10:30
2016-08-24 15:29:39 -07:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 10:13:15 +10:30
2016-01-08 11:42:10 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-09-26 16:36:08 +01:00
2016-01-01 23:00:01 +10:30
2016-06-25 11:54:28 -04:00
2016-06-25 11:54:28 -04:00
2016-10-06 10:13:15 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-03-07 15:16:28 +00:00
2016-01-01 23:00:01 +10:30
2016-07-27 17:38:31 +01:00
2016-01-01 23:00:01 +10:30
2016-05-18 13:07:24 +01:00
2016-01-01 23:00:01 +10:30
2016-07-13 17:42:43 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 09:39:56 +10:30
2016-10-06 09:39:56 +10:30
2016-05-27 13:49:58 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-06-01 21:26:32 -04:00
2016-06-15 16:25:34 +01:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 10:13:15 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-03-03 00:23:31 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-08-01 09:42:31 -07:00
2016-09-29 15:12:47 +09:30
2016-03-02 13:38:44 +10:30
2016-01-14 16:23:35 +00:00
2016-03-01 10:52:24 +00:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-06-10 13:41:42 +02:00
2016-09-12 16:32:02 +02:00
2016-01-01 23:00:01 +10:30
2016-09-12 16:32:02 +02:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 10:13:15 +10:30
2016-10-07 11:24:21 +10:30
2016-06-17 02:15:43 -07:00
2016-08-26 07:31:31 -07:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-10-06 10:13:15 +10:30
2016-10-06 10:13:15 +10:30
2016-01-01 23:00:01 +10:30
2016-05-23 01:17:12 -04:00
2016-05-23 01:17:12 -04:00
2016-01-01 23:00:01 +10:30
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-04-13 15:09:25 +01:00
2016-10-06 10:13:15 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-02-02 11:09:17 +00:00
2016-04-20 07:04:49 -04:00
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30
2016-01-01 23:00:01 +10:30