Re: [Bug 303232] Re: armel gcc default optimisations

2009-01-29 Thread Catalin Marinas
Thinking a bit more, I think the VFP emulation for older hardware could be a viable option to have all the packages compiled with -mfpu=vfp. I can't estimate the performance difference between softfloat and VFP emulation but, if the performance on Xscale is visibly affected, we still have the

Re: [Bug 303232] Re: armel gcc default optimisations

2009-01-28 Thread Catalin Marinas
On Thu, 2009-01-22 at 15:58 +, Loïc Minier wrote: [Ack, I do understand there's a performance hit when gong via libgcc, but I was hoping this could be a good compromise between not using hardware FPU at all and generating traps on systems without FPU.] I haven't looked but I think there is

[Bug 303232] Re: armel gcc default optimisations

2009-01-22 Thread Catalin Marinas
By default, gcc generates software floating point, so for this particular case no additional command line options are needed. Using -mfloat-abi=softfp indeed creates binaries compatible with Debian (soft-float) since the function calling convention uses standard registers and stack for passing

Re: [Bug 303232] Re: armel gcc default optimisations

2009-01-22 Thread Catalin Marinas
If -mfpu=vfp is enabled, the compiler will generate VFP instructions in the asm code directly rather than calls to the libgcc soft-float code. Even if the libgcc soft-float function could be replaced with the VFP instructions, you still get an additional branch to those operations and probably

[Bug 303232] Re: armel gcc default optimisations

2009-01-22 Thread Catalin Marinas
Please ignore the legal disclaimer at the end of the previous post (I used the wrong SMTP server and it got appended automatically). Thanks. -- armel gcc default optimisations https://bugs.launchpad.net/bugs/303232 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 303232] Re: armel gcc default optimisations

2009-01-20 Thread Catalin Marinas
The -mtune=cortex-a8 will optimise the generated code for the Cortex-A8 (ARMv7 processor) pipeline but not affecting the instruction set used (which is still ARMv5T). The resulting code will be optimal on ARMv7 but there may be a slight drop (if any) on other architecture versions. Without the

[Bug 303188] [NEW] armel port uses the deprecated SWP instructions

2008-11-28 Thread Catalin Marinas
Public bug reported: The NPTL lock-related files in glibc ports still use the deprecated SWP instructions. These instructions have been deprecated since ARMv6 and there are even ARMv7 CPUs (Cortex-A9) with these disabled by default. The CONFIG_AEABI support in the Linux kernel provides kernel

[Bug 303232] [NEW] armel gcc default optimisations

2008-11-28 Thread Catalin Marinas
Public bug reported: Binary package hint: gcc-4.3 For the armel Ubuntu port, since it is optimised for ARMv7, it would be good to have gcc automatically generating code equivalent to the flags below so that all the applications would benefit, unrelated to whether CFLAGS was set or not:

[Bug 237970] Re: firefox-3.0 breaks with NFS home directory

2008-08-07 Thread Catalin Marinas
I got the same problem. It might be related to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=417037 -- firefox-3.0 breaks with NFS home directory https://bugs.launchpad.net/bugs/237970 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to