mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-28 16:01:31 +00:00
Check for float register width exactly for risc-v frontend
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user