From 09458043690238a15a7a55e42acc2166d299e58e Mon Sep 17 00:00:00 2001 From: lkcl Date: Thu, 3 Jun 2021 11:47:40 +0100 Subject: [PATCH] --- openpower/sv/int_fp_mv.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openpower/sv/int_fp_mv.mdwn b/openpower/sv/int_fp_mv.mdwn index ec946c904..c8a960fe4 100644 --- a/openpower/sv/int_fp_mv.mdwn +++ b/openpower/sv/int_fp_mv.mdwn @@ -121,9 +121,10 @@ fmvis f4, 0x7F80 # writes +Infinity to f4 fmvis f4, 0xFF80 # writes -Infinity to f4 fmvis f4, 0x3FFF # writes +1.9921875 to f4 -# clearing all 32 FPRs with 2 SVP64 instructions +# clearing 128 FPRs with 2 SVP64 instructions +# by issuing 32 vec4 (subvector length 4) ops setvli VL=MVL=32 -sv.fmvis f0, 0 # writes +0.0 to f0-f31 +sv.fmvis/vec4 f0, 0 # writes +0.0 to f0-f127 ``` Important: If the float load immediate instruction(s) are left out, change all [GPR to FPR conversion instructions](#GPR-to-FPR-conversions) -- 2.30.2