Remove more shifts for sign/zero extension
authorAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 06:15:14 +0000 (16:45 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 11 Dec 2019 10:44:19 +0000 (21:14 +1030)
commit1d61b032265e69317f42e8019e072506f11890c5
tree226c023afd93046735bb928dc67d6490f8466e97
parent13c9c48599ebc8ad2f3a1fb9f672740219cd3841
Remove more shifts for sign/zero extension

cpu/
* epiphany.cpu (f-sdisp11): Don't sign extend with shifts.
* lm32.cpu (f-branch, f-vall): Likewise.
* m32.cpu (f-lab-8-16): Likewise.
opcodes/
* arc-dis.c (BITS): Don't truncate high bits with shifts.
* nios2-dis.c (nios2_print_insn_arg): Don't sign extend with shifts.
* tic54x-dis.c (print_instruction): Likewise.
* tilegx-opc.c (parse_insn_tilegx): Likewise.
* tilepro-opc.c (parse_insn_tilepro): Likewise.
* visium-dis.c (disassem_class0): Likewise.
* pdp11-dis.c (sign_extend): Likewise.
(SIGN_BITS): Delete.
* epiphany-ibld.c: Regenerate.
* lm32-ibld.c: Regenerate.
* m32c-ibld.c: Regenerate.
15 files changed:
cpu/ChangeLog
cpu/epiphany.cpu
cpu/lm32.cpu
cpu/m32c.cpu
opcodes/ChangeLog
opcodes/arc-dis.c
opcodes/epiphany-ibld.c
opcodes/lm32-ibld.c
opcodes/m32c-ibld.c
opcodes/nios2-dis.c
opcodes/pdp11-dis.c
opcodes/tic54x-dis.c
opcodes/tilegx-opc.c
opcodes/tilepro-opc.c
opcodes/visium-dis.c