Skip to content
Commit 12e70a6d authored by Nelson Chu's avatar Nelson Chu
Browse files

RISC-V: Fixed the wrong expansion for pseudo vmsge[u].vx instructions.

The original report was from Kiva Oyama <libkernelpanic@gmail.com>,
https://sourceware.org/pipermail/binutils/2023-August/129255.html

The vmsge[u].vx pseudo should be expanded to masked vmslt[u].vx only when
vd != v0.  Otherwise, it should be expanded to unmasked one.

gas/
	* config/tc-riscv.c (vector_macro): Fixed the wrong expansion for
	pseudo vmsge[u].vx instructions.
	* testsuite/gas/riscv/vector-insns-vmsgtvx.d: Updated.
parent 8ba212f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment