[fpc-devel] Proposal: Enhanced replacement for assignment operators
Martin
fpc at mfriebe.de
Sat Aug 7 12:04:55 CEST 2010
On 07/08/2010 08:28, Florian Klämpfl wrote:
>
> Nevertheless inc/dec generates better code because fpc is too dump to
> convert += / -= into inc/dec etc. :)
Better in which way?
I did a quick test (on a very simple source only) (fpc 2.5.1)
inc(a), a+=1; a:= a + 1; all generate "incl"
inc(a,3); a := a + 3; generate "addl"
Martin
More information about the fpc-devel
mailing list