Re: Float numbers in kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mauricio Lin wrote:
I think the kernel_fpu_begin() and kernel_fpu_end()
functions work for i386 arch, but not for ARM arch.

Does anyone know if exist anything similar for ARM
arch?


You didn't tell what arm version you use... I'm working on intel xscale that is based on arm5vte core and it does _not_ have fpu unit, nor do lower versions of arm core. In linux floating point calcs get emulated with NWFPE floating point emulator or FAST floating point emulator (for userland). See linux-arm-kernel ML for more info, but floating point should not be used in kernel anyway.


Maybe newer versions arm9(maybe), arm11 and above do (I don't know)...
Se www.arm.com for specs.

hth,
h
--
hinko <dot> kocevar <at> iskramedical <dot> si
Hinko Kocevar, developer
Iskra Medical d.o.o., Stegne 23, 1k LJ, SLO-EU

	"Aì rén"	|	[Analects XII:22]

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux