Hey Lukasz. Lukasz Majewski wrote:
> I've got question about two ptxconfigs: > For OSELAS.Toolchain-1.99.3.1 there are : > 1). > arm-v5te-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized.ptxconfig > (which I'm using now) this is the correct toolchain if your processor doesn't have a FPU! > and very similar one: > > 2). > arm-v5te_vfp-linux-gnueabi_gcc-4.3.2_glibc-2.8_binutils-2.18_kernel-2.6.27-sanitized.ptxconfig. ..this one is for processors with a hardware-vfp unit > As I said before, I'm using first toolchain (1.). > It looks that it isn't working as it should. It sometimes happens that > very heavy computational operations hangs (for instance Kalman filtering > with a lot of doubles) or calculations aren't performed (no filtered > data on the output). can you provide a (minimal) test case, then we can report the problem to the gcc bugzilla. > My linux kernel is configured to only support NwFPE floating point > emulation (It is mandatory to use at least one emulation). I don't want that's not true. because you're using a toolchain that generates softfloat per default, you don't need a floating point instruction emulation in the kernel. All our BSPs have this option disabled, so we detect quite fast if some float instructions are generated by accident. > to use kernel trap/exception to handle floating point. I'd prefer to > use floating point handling as library calls. Toolchain which I'm using > now has PTXCONF_GLIBC_CONFIG_EXTRA="--without-fp" , so maybe this is > the problem? this instructs glibc that you don't have a fpu, so that the fpu regs are not touched. i.e. in setjmp/longjmp > I need full software support for floating point operations (since my > arm-v5 hasn't got FPU) as efficient as possible. > I'm compiling my code with -msoft-float option. don't use that switch, the toolchain generates floating point code per default. > Could you give me advice and tell which toolchain I should use? you're using the correct toolchain. cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de