]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MicroBlaze: Widen mask used in opcodes/microblaze-dis,c
authorMichael J. Eager <eager@eagercon.com>
Mon, 27 Jan 2025 20:01:20 +0000 (12:01 -0800)
committerMichael J. Eager <eager@eagercon.com>
Mon, 27 Jan 2025 20:01:20 +0000 (12:01 -0800)
commit26b751e4c4fd7dbb4435b5f0beab8b668d9bb4ea
tree9c7330feb16daa4eac49a305df90b3d39dd6a36e
parentc76c8e20985d4c5106fa538c6f80661e1c2be007
MicroBlaze: Widen mask used in opcodes/microblaze-dis,c

Instead of using 0xFFFF0000, or with (~0xFFFF) to sign extend
negative 16-bit value and with (~0xFFFF) to extract higher order
address bits

opcodes/
* microblaze-dis.c: (print_insn_microblaze): Widen mask
(microblaze_get_target_address): Likewis

Signed-off-by: Gopi Kumar Bulusu <gopi@sankhya.com>
Signed-off-by: Michael J. Eager <eager@eagercon.com>
opcodes/microblaze-dis.c