aboutsummaryrefslogtreecommitdiff
path: root/opcodes/microblaze-dis.c
diff options
context:
space:
mode:
authorMichael J. Eager <eager@eagercon.com>2023-10-07 15:29:54 -0700
committerMichael J. Eager <eager@eagercon.com>2023-10-07 15:33:10 -0700
commita3f612448356c1464b6b80265abf36b807c88b5d (patch)
treef77fb19fed6ffd59986b3ef93e1fc8691b64a184 /opcodes/microblaze-dis.c
parent6542e3df20652b96851c9f801ce199e3072792cf (diff)
downloadfsf-binutils-gdb-a3f612448356c1464b6b80265abf36b807c88b5d.zip
fsf-binutils-gdb-a3f612448356c1464b6b80265abf36b807c88b5d.tar.gz
fsf-binutils-gdb-a3f612448356c1464b6b80265abf36b807c88b5d.tar.bz2
Revert "opcodes: microblaze: Add new bit-field instructions"
This reverts commit 6bbf249557ba17cfebe01c67370df4da9e6a56f9. Maciej W. Rozycki <macro@orcam.me.uk>: Yet it has caused numerous regressions: microblaze-elf +FAIL: unordered .debug_info references to .debug_ranges microblaze-elf +FAIL: binutils-all/pr26548 microblaze-elf +FAIL: readelf -Wwi pr26548e (reason: unexpected output) microblaze-elf +FAIL: readelf --debug-dump=loc locview-1 (reason: unexpected output) Yet it has caused numerous regressions: microblaze-elf +FAIL: unordered .debug_info references to .debug_ranges microblaze-elf +FAIL: binutils-all/pr26548 microblaze-elf +FAIL: readelf -Wwi pr26548e (reason: unexpected output) ...
Diffstat (limited to 'opcodes/microblaze-dis.c')
-rw-r--r--opcodes/microblaze-dis.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/opcodes/microblaze-dis.c b/opcodes/microblaze-dis.c
index d9db307..12981ab 100644
--- a/opcodes/microblaze-dis.c
+++ b/opcodes/microblaze-dis.c
@@ -91,18 +91,6 @@ get_field_imm5_mbar (struct string_buf *buf, long instr)
}
static char *
-get_field_imm5width (struct string_buf *buf, long instr)
-{
- char *p = strbuf (buf);
-
- if (instr & 0x00004000)
- sprintf (p, "%d", (short)(((instr & IMM5_WIDTH_MASK) >> IMM_WIDTH_LOW))); /* bsefi */
- else
- sprintf (p, "%d", (short)(((instr & IMM5_WIDTH_MASK) >> IMM_WIDTH_LOW) - ((instr & IMM5_MASK) >> IMM_LOW) + 1)); /* bsifi */
- return p;
-}
-
-static char *
get_field_rfsl (struct string_buf *buf, long instr)
{
char *p = strbuf (buf);
@@ -439,10 +427,6 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info)
/* For mbar 16 or sleep insn. */
case INST_TYPE_NONE:
break;
- /* For bit field insns. */
- case INST_TYPE_RD_R1_IMM5_IMM5:
- print_func (stream, "\t%s, %s, %s, %s", get_field_rd (&buf, inst),get_field_r1(&buf, inst),get_field_imm5width (&buf, inst), get_field_imm5 (&buf, inst));
- break;
/* For tuqula instruction */
case INST_TYPE_RD:
print_func (stream, "\t%s", get_field_rd (&buf, inst));