Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-16 Thread Jim Wilson
On Tue, Jun 16, 2015 at 1:46 AM, James Greenhalgh wrote: > I'm happy for this to be backported. Thanks. Applied. > I think Grub probably wants to change if they want to be safe, from > what I've read it looks like they are hoping to use something like a > standard printf without touching the FP

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-16 Thread James Greenhalgh
On Tue, Jun 09, 2015 at 03:18:05AM +0100, Jim Wilson wrote: > On Tue, Jun 2, 2015 at 3:45 AM, James Greenhalgh > wrote: > > On Tue, Jun 02, 2015 at 11:38:29AM +0100, Kyrill Tkachov wrote: > >> Hi James, Jim, > >> > >> On 02/06/15 10:42, James Greenhalgh wrote: > >> > On Sat, May 23, 2015 at 12:24:

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-08 Thread Jim Wilson
On Tue, Jun 2, 2015 at 3:45 AM, James Greenhalgh wrote: > On Tue, Jun 02, 2015 at 11:38:29AM +0100, Kyrill Tkachov wrote: >> Hi James, Jim, >> >> On 02/06/15 10:42, James Greenhalgh wrote: >> > On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: >> >> The compiler currently ICEs when compi

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread James Greenhalgh
On Tue, Jun 02, 2015 at 11:38:29AM +0100, Kyrill Tkachov wrote: > Hi James, Jim, > > On 02/06/15 10:42, James Greenhalgh wrote: > > On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: > >> The compiler currently ICEs when compiling a stdarg function with > >> +nofp, as reported in PR 66258

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread Kyrill Tkachov
Hi James, Jim, On 02/06/15 10:42, James Greenhalgh wrote: On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: The compiler currently ICEs when compiling a stdarg function with +nofp, as reported in PR 66258. The aarch64.md file disables FP instructions using TARGET_FLOAT, which support

Re: [PATCH, AARCH64] make stdarg functions work with +nofp

2015-06-02 Thread James Greenhalgh
On Sat, May 23, 2015 at 12:24:00AM +0100, Jim Wilson wrote: > The compiler currently ICEs when compiling a stdarg function with > +nofp, as reported in PR 66258. > > The aarch64.md file disables FP instructions using TARGET_FLOAT, which > supports both -mgeneral-regs-only and +nofp. But there is

[PATCH, AARCH64] make stdarg functions work with +nofp

2015-05-22 Thread Jim Wilson
The compiler currently ICEs when compiling a stdarg function with +nofp, as reported in PR 66258. The aarch64.md file disables FP instructions using TARGET_FLOAT, which supports both -mgeneral-regs-only and +nofp. But there is code in aarch64.c that checks TARGET_GENERAL_REGS_ONLY. This results