5l: apply richard millers 5l-incfloat patch (from sources)

Generate correct ARM vfp code for x++ where x is single precision float.
Example test program (link with '5l -f'): void _main() { float x; x++;}
This commit is contained in:
cinap_lenrek 2013-10-06 01:49:15 +02:00
parent 3da35f028f
commit cb8eac54ed

View file

@ -998,6 +998,11 @@ loop:
}
goto casedef;
case AMOVDF:
if(!vfp || p->from.type != D_FCONST)
goto casedef;
p->as = AMOVF;
/* fall through */
case AMOVF:
if(skip)
goto casedef;