RISC-V: fold duplicate code in vector_macro()
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Sep 2023 08:03:35 +0000 (10:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Sep 2023 08:03:35 +0000 (10:03 +0200)
commitd4868004365e6bc4232a1b8ebd4b328fc5bec8b1
treebe93d389ab6a0ce5be44b077c447209fefcd6f82
parent404def8928b5746573e24dc31c6fd6ec5b07d97f
RISC-V: fold duplicate code in vector_macro()

There's no need to have almost identical code twice. Do away with
M_VMSGEU and instead simply use an unused (for these macros) field to
tell apart both variants.
gas/config/tc-riscv.c
include/opcode/riscv.h
opcodes/riscv-opc.c