mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/sparc: Implement FMAf extension
Rearrange PDIST so that do_dddd is general purpose and may be re-used for FMADDd etc. Add pickNaN and pickNaNMulAdd. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
28c131a34d
commit
4fd71d19ac
8 changed files with 155 additions and 6 deletions
|
@ -1003,6 +1003,7 @@ static uint32_t get_elf_hwcap(void)
|
|||
r |= features & CPU_FEATURE_FSMULD ? HWCAP_SPARC_FSMULD : 0;
|
||||
r |= features & CPU_FEATURE_VIS1 ? HWCAP_SPARC_VIS : 0;
|
||||
r |= features & CPU_FEATURE_VIS2 ? HWCAP_SPARC_VIS2 : 0;
|
||||
r |= features & CPU_FEATURE_FMAF ? HWCAP_SPARC_FMAF : 0;
|
||||
#endif
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue