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:
parent
3da35f028f
commit
cb8eac54ed
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue