mirror of
https://github.com/irmen/prog8.git
synced 2025-08-15 14:27:37 +00:00
fixed code gen issue for uword >= comparison
This commit is contained in:
@@ -2822,6 +2822,7 @@ $label nop""")
|
||||
if(rightConstVal.number.toInt()!=0) {
|
||||
assignExpressionToRegister(left, RegisterOrPair.AY)
|
||||
code("#>${rightConstVal.number.toInt()}", "#<${rightConstVal.number.toInt()}")
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -3,7 +3,6 @@ TODO
|
||||
|
||||
For next compiler release (7.7)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
- perhaps also optimize testNonzeroComparisonAndJump() ?
|
||||
- copying floats around: do it with a subroutine rather than 5 lda/sta pairs .
|
||||
is slower but floats are very slow already anyway and this should take a lot less program size.
|
||||
-> assignVariableFloat() + assignConstantFloat()
|
||||
|
Reference in New Issue
Block a user