Check for float register width exactly for risc-v frontend

This commit is contained in:
gingerBill
2026-08-21 12:19:02 +01:00
parent a604ddceb1
commit 4a4a5045f8
5 changed files with 27 additions and 2 deletions

View File

@@ -551,6 +551,9 @@ main :: proc() {
bool integer_reg_width_is_exact() const {
return false;
}
bool float_reg_width_is_exact() const {
return false;
}
""")
strings.write_string(&sb, "\n\n")

View File

@@ -553,6 +553,9 @@ main :: proc() {
bool integer_reg_width_is_exact() const {
return true;
}
bool float_reg_width_is_exact() const {
return true;
}
""")
strings.write_string(&sb, "\n\n")