[PATCH] RISC-V: bge[u] should get higher priority than ble[u].

8 views
Skip to first unread message

Kito Cheng

unread,
Sep 17, 2018, 4:30:58 AM9/17/18
to binu...@sourceware.org, Jim Wilson, Palmer Dabbelt, pat...@groups.riscv.org
Hi all:

This patch is fixing the behavior of disassembler for bge[u], bge[u]
and ble[u] will disassemble to ble[u] currently, however ble[u] is
pseudo/alias instruction, so I think it should disassemble into bge[u]
instead of ble[u].

ChangeLog:

2018-09-17 Kito Cheng <ki...@andestech.com>
gas/
* testsuite/gas/riscv/bge.d: New.
* testsuite/gas/riscv/bge.s: Likewise.
opcodes/
* riscv-opc.c (riscv_opcodes): Adjust the order of ble and
bleu.
0001-RISC-V-bge-u-should-get-higher-priority-than-ble-u.patch

Jim Wilson

unread,
Sep 17, 2018, 2:45:17 PM9/17/18
to Kito Cheng, Binutils, Palmer Dabbelt, RISC-V Patches
On Mon, Sep 17, 2018 at 1:30 AM Kito Cheng <kito....@gmail.com> wrote:
> This patch is fixing the behavior of disassembler for bge[u], bge[u]
> and ble[u] will disassemble to ble[u] currently, however ble[u] is
> pseudo/alias instruction, so I think it should disassemble into bge[u]
> instead of ble[u].

OK. Committed.

Jim
Reply all
Reply to author
Forward
0 new messages