Fix counting of VFP regs in ARM's gfunc_prolog
commitc3e7c725b540c837e25093e2f488a4667f4d4ea0
authorThomas Preud'homme <robotux@celest.fr>
Thu, 21 Nov 2013 13:14:25 +0000 (21 21:14 +0800)
committerThomas Preud'homme <robotux@celest.fr>
Thu, 21 Nov 2013 14:27:15 +0000 (21 22:27 +0800)
tree6683034dc334229f816d22c0443475ed527e2e4c
parent41ce391c86df135609af33658414d4d452c5beb3
Fix counting of VFP regs in ARM's gfunc_prolog

Fix in gfunc_prolog for ARM the counting of the highest numbered VFP
float register used for parameter passing, rounded to 2. It can be
computed from the range of VFP float register with the highest range
start and adding the number of VFP float register occupied. This ensure
that parameter of type struct that spans over more than 2 float
registers are correctly taken into account.
arm-gen.c