Commit bcd1862
committed
Handle fp_exceptions in fadd
Defined several floating-point exceptions in riscv_private.h
Detect invalid_op, overflow, and inexact in FADD.
Modify csr_get_ptr and csr_csrrs so that it can deal with CSR_FFLAGS
New test passed:
fadd_b10-01
fadd_b11-01
fadd_b12-01
fadd_b13-01
fadd_b7-011 parent 80801fe commit bcd1862
2 files changed
Lines changed: 24 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | 137 | | |
146 | 138 | | |
147 | 139 | | |
| |||
625 | 617 | | |
626 | 618 | | |
627 | 619 | | |
| 620 | + | |
| 621 | + | |
628 | 622 | | |
629 | 623 | | |
630 | 624 | | |
| |||
659 | 653 | | |
660 | 654 | | |
661 | 655 | | |
662 | | - | |
| 656 | + | |
663 | 657 | | |
664 | 658 | | |
665 | 659 | | |
| |||
909 | 903 | | |
910 | 904 | | |
911 | 905 | | |
912 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
913 | 909 | | |
| 910 | + | |
914 | 911 | | |
915 | 912 | | |
916 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
917 | 918 | | |
918 | 919 | | |
919 | 920 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| |||
0 commit comments