mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-28 16:01:31 +00:00
Restrict riscv to only allow [base + disp] (i.e. disallow index*scale style things)
This commit is contained in:
@@ -554,6 +554,9 @@ main :: proc() {
|
||||
bool float_reg_width_is_exact() const {
|
||||
return false;
|
||||
}
|
||||
bool supports_memory_index_not_just_disp() const {
|
||||
return false;
|
||||
}
|
||||
""")
|
||||
strings.write_string(&sb, "\n\n")
|
||||
|
||||
|
||||
@@ -556,6 +556,9 @@ main :: proc() {
|
||||
bool float_reg_width_is_exact() const {
|
||||
return true;
|
||||
}
|
||||
bool supports_memory_index_not_just_disp() const {
|
||||
return true;
|
||||
}
|
||||
""")
|
||||
strings.write_string(&sb, "\n\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user