Skip to content

Commit d2c558d

Browse files
committed
Revert "arc: Put DBNZ instruction to a separate class"
This reverts commit 989a323.
1 parent 461159e commit d2c558d

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

gas/config/tc-arc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ enum arc_rlx_types
114114
|| (op)->insn_class == BBIT0 \
115115
|| (op)->insn_class == BBIT1 \
116116
|| (op)->insn_class == BI \
117-
|| (op)->insn_class == DBNZ \
118117
|| (op)->insn_class == EI \
119118
|| (op)->insn_class == ENTER \
120119
|| (op)->insn_class == JLI \

include/opcode/arc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ typedef enum
5252
BRANCH,
5353
BRCC,
5454
CONTROL,
55-
DBNZ,
5655
DIVREM,
5756
DMA,
5857
DPI,

opcodes/arc-dis.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,6 @@ arc_opcode_to_insn_type (const struct arc_opcode *opcode)
979979
case BI:
980980
case BIH:
981981
case BRCC:
982-
case DBNZ:
983982
case EI:
984983
case JLI:
985984
case JUMP:

opcodes/arc-tbl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3656,7 +3656,7 @@
36563656
{ "daddh22", 0x36F77F80, 0xFFFF7FE0, ARC_OPCODE_ARCv2EM, FLOAT, DPA, { ZA, LIMM, LIMMdup }, { C_F, C_CC }},
36573657

36583658
/* dbnz<.d> b,s13 00100bbb1000110N0BBBssssssSSSSSS. */
3659-
{ "dbnz", 0x208C0000, 0xF8FE8000, ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, DBNZ, NONE, { RB, SIMM13_A16_20}, { C_DNZ_D }},
3659+
{ "dbnz", 0x208C0000, 0xF8FE8000, ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, BRANCH, NONE, { RB, SIMM13_A16_20}, { C_DNZ_D }},
36603660

36613661
/* dexcl1<.f> a,b,c 00110bbb00011000FBBBCCCCCCAAAAAA. */
36623662
{ "dexcl1", 0x30180000, 0xF8FF0000, ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM, FLOAT, DPX, { RA, RB, RC }, { C_F }},

0 commit comments

Comments
 (0)