[PATCH] [AArch64] Add -mgeneral_regs_only option

Bernie Ogden bogden at arm.com
Fri Jan 24 06:41:40 PST 2014


Yeah, if/when it goes in for AArch32 it ought to go in the docs.

The option means 'only use the general registers', so both fp and neon would be disabled.

I haven't thought through what this means on the AArch32 side, or whether it amounts to -mfloat-abi soft. Your question hints that NEON is still available with softfloat - which, given that there are integer NEON operations, would make sense.

Regards,

Bernie

> -----Original Message-----
> From: Tim Northover [mailto:t.p.northover at gmail.com]
> Sent: 23 January 2014 15:11
> To: Bernard Ogden
> Cc: reviews+D2586+public+4d171e861f82b113 at llvm-reviews.chandlerc.com;
> Amara Emerson; cfe-commits at cs.uiuc.edu
> Subject: Re: [PATCH] [AArch64] Add -mgeneral_regs_only option
> 
> > We might want to get AArch32 side to accept this option too, but
> that's a separate patch/discussion.
> 
> It'd be good to document exactly how this is expected to differ from
> -mfloat-abi=soft (and/or -msoft-float). Disables NEON too? Or no
> difference?
> 
> Cheers.
> 
> Tim.








More information about the cfe-commits mailing list