aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vfslide1down_vf.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vfslide1down_vf.h')
-rw-r--r--riscv/insns/vfslide1down_vf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscv/insns/vfslide1down_vf.h b/riscv/insns/vfslide1down_vf.h
index 66eeacc..40f3c18 100644
--- a/riscv/insns/vfslide1down_vf.h
+++ b/riscv/insns/vfslide1down_vf.h
@@ -23,13 +23,13 @@ if (i != vl - 1) {
} else {
switch (P.VU.vsew) {
case e16:
- P.VU.elt<float16_t>(rd_num, vl - 1, true) = f16(FRS1);
+ P.VU.elt<float16_t>(rd_num, vl - 1, true) = FRS1_H;
break;
case e32:
- P.VU.elt<float32_t>(rd_num, vl - 1, true) = f32(FRS1);
+ P.VU.elt<float32_t>(rd_num, vl - 1, true) = FRS1_F;
break;
case e64:
- P.VU.elt<float64_t>(rd_num, vl - 1, true) = f64(FRS1);
+ P.VU.elt<float64_t>(rd_num, vl - 1, true) = FRS1_D;
break;
}
}