Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Wolfgang Denk
Dear Alexander Holler, In message 1298171532-5296-1-git-send-email-hol...@ahsoftware.de you wrote: Without -msoft-float the compiler would be allowed to use certain floating-point instructions (VFP/NEON) e.g. for optimizations, which would require additional code, for example to save contexts

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Alexander Holler
Am 20.02.2011 09:42, schrieb Wolfgang Denk: Dear Alexander Holler, In message1298171532-5296-1-git-send-email-hol...@ahsoftware.de you wrote: Without -msoft-float the compiler would be allowed to use certain floating-point instructions (VFP/NEON) e.g. for optimizations, which would require

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Alexander Holler
Am 20.02.2011 10:39, schrieb Alexander Holler: # -msoft-float forces the compiler to avoid any fp-related instructions for optimizations. Would that be better? Anyway, I don't care about that patch. I now know the reason. ;) Btw, isn't soft-float useless on ARM when armv5 is used as

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Alexander Holler
Am 20.02.2011 10:52, schrieb Alexander Holler: Am 20.02.2011 10:39, schrieb Alexander Holler: # -msoft-float forces the compiler to avoid any fp-related instructions for optimizations. Would that be better? Anyway, I don't care about that patch. I now know the reason. ;) Btw, isn't

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Wolfgang Denk
Dear Alexander Holler, In message 4d60e16e.1060...@ahsoftware.de you wrote: I don't know how other the compiler behaves for other architectures and if those are having the need to save fp-contexts for irqs. I thought I had explained this again in recent postings, not to mention the times I

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Eric Cooper
On Sun, Feb 20, 2011 at 11:20:07AM +0100, Wolfgang Denk wrote: [...] or feel free to create a doc/README.toolchain or similar that can then also be used to document things like linker options, information about known issues, etc. +1 for a README.toolchain file. -- Eric Cooper e c

Re: [U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-20 Thread Alexander Holler
On 20.02.2011 11:20, Wolfgang Denk wrote: No, not at all, because the only additional information about what Thanks, at least I tried it. Regards, Alexander ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] ARM: Add comments why -msoft-float is used.

2011-02-19 Thread Alexander Holler
Without -msoft-float the compiler would be allowed to use certain floating-point instructions (VFP/NEON) e.g. for optimizations, which would require additional code, for example to save contexts for interrupts. Add a comment which describes this in short words. Signed-off-by: Alexander Holler