Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b50d51c
add softfloat_normSubnormalF32Sig function.
ShashankVM Oct 2, 2025
830b956
Merge pull request #1151 from ShashankVM/1149-implement-fmul-single-p…
ShashankVM Oct 2, 2025
5dff6b0
feat(idl): implement single precision fmul
ShashankVM Oct 2, 2025
9dd4efd
Merge pull request #1154 from ShashankVM/1149-implement-fmul-single-p…
ShashankVM Oct 2, 2025
f608f28
data: add IDL operation for fmul
ShashankVM Oct 2, 2025
ea6831e
Merge pull request #1155 from ShashankVM/1149-implement-fmul-single-p…
ShashankVM Oct 2, 2025
c1cae33
fix: typo in packToF32UI function call
ShashankVM Oct 2, 2025
56a7622
Merge pull request #1156 from ShashankVM/1149-implement-fmul-single-p…
ShashankVM Oct 2, 2025
c37c1d7
fix: function call to roundPackToF32
ShashankVM Oct 2, 2025
dcecdcc
Merge pull request #1157 from ShashankVM/1149-implement-fmul-single-p…
ShashankVM Oct 2, 2025
2f34cf9
feat(idl): single precision floating point division
ShashankVM Oct 2, 2025
9764d90
Merge pull request #1159 from ShashankVM/fmul_branch
ShashankVM Oct 2, 2025
a328937
fix: mark_f_state_dirty in fmul and fdiv
ShashankVM Oct 2, 2025
a53977e
Merge branch '1158-implement-fdiv-single-precision-floating-point-ins…
ShashankVM Oct 2, 2025
2db76c4
feat(IDL): single precision multiply add
ShashankVM Oct 4, 2025
8b0e027
Merge branch 'fmul_branch' of https://github.com/ShashankVM/riscv-uni…
ShashankVM Oct 4, 2025
ec6af3c
feat(IDL): single precision floating point multiply subtract
ShashankVM Oct 4, 2025
b84279f
fix: enum assignment
ShashankVM Oct 4, 2025
83418f8
fix: function arguments in function call
ShashankVM Oct 4, 2025
faa514d
fix: floating point IDL typos
ShashankVM Oct 4, 2025
8039f96
feat(IDL): single precision floating point negative multiply add
ShashankVM Oct 4, 2025
194f21c
feat(IDL): single precision floating point negative multiply subtraction
ShashankVM Oct 4, 2025
0813178
Merge branch 'main' into fmul_branch
ShashankVM Oct 9, 2025
20b9a1d
Merge branch 'main' into fmul_branch
ShashankVM Oct 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion spec/std/isa/inst/F/fdiv.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ access:
vu: always
data_independent_timing: true
operation(): |

check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
f[fd] = f32_div(f[fs1], f[fs2], mode);
mark_f_state_dirty();
# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
# SPDX-License-Identifier: BSD-2-Clause
Expand Down
5 changes: 5 additions & 0 deletions spec/std/isa/inst/F/fmadd.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ access:
vu: always
data_independent_timing: true
operation(): |
check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
F32MulAddOp op = F32MulAddOp::Softfloat_mulAdd_addC;
f[fd] = f32_muladd(f[fs1], f[fs2], f[fs3], op, mode);
mark_f_state_dirty();

# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
Expand Down
5 changes: 5 additions & 0 deletions spec/std/isa/inst/F/fmsub.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ access:
vu: always
data_independent_timing: true
operation(): |
check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
F32MulAddOp op = F32MulAddOp::Softfloat_mulAdd_subC;
f[fd] = f32_muladd(f[fs1], f[fs2], f[fs3], op, mode);
mark_f_state_dirty();

# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
Expand Down
4 changes: 4 additions & 0 deletions spec/std/isa/inst/F/fmul.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ access:
vu: always
data_independent_timing: true
operation(): |
check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
f[fd] = f32_mul(f[fs1], f[fs2], mode);
mark_f_state_dirty();

# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
Expand Down
5 changes: 5 additions & 0 deletions spec/std/isa/inst/F/fnmadd.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ access:
vu: always
data_independent_timing: true
operation(): |
check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
F32MulAddOp op = F32MulAddOp::Softfloat_mulAdd_subC;
f[fd] = f32_muladd(-f[fs1], f[fs2], -f[fs3], op, mode);
mark_f_state_dirty();

# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
Expand Down
5 changes: 5 additions & 0 deletions spec/std/isa/inst/F/fnmsub.s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ access:
vu: always
data_independent_timing: true
operation(): |
check_f_ok($encoding);
RoundingMode mode = rm_to_mode(rm, $encoding);
F32MulAddOp op = F32MulAddOp::Softfloat_mulAdd_addC;
f[fd] = f32_muladd(-f[fs1], f[fs2], f[fs3], op, mode);
mark_f_state_dirty();

# SPDX-SnippetBegin
# SPDX-FileCopyrightText: 2017-2025 Contributors to the RISCV Sail Model <https://github.com/riscv/sail-riscv/blob/master/LICENCE>
Expand Down
Loading
Loading