mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00
target/riscv: vector floating-point classify instructions
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20200701152549.1218-41-zhiwei_liu@c-sky.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
2a68e9e568
commit
121ddbb36f
6 changed files with 107 additions and 30 deletions
|
@ -27,4 +27,9 @@ FIELD(VDATA, VM, 8, 1)
|
|||
FIELD(VDATA, LMUL, 9, 2)
|
||||
FIELD(VDATA, NF, 11, 4)
|
||||
FIELD(VDATA, WD, 11, 1)
|
||||
|
||||
/* float point classify helpers */
|
||||
target_ulong fclass_h(uint64_t frs1);
|
||||
target_ulong fclass_s(uint64_t frs1);
|
||||
target_ulong fclass_d(uint64_t frs1);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue