From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45198C45.6080904@domain.hid> Date: Tue, 26 Sep 2006 22:23:33 +0200 From: Wolfgang Grandegger MIME-Version: 1.0 Subject: Re: [Xenomai-core] Problem with periodic timer on PPC40x solved References: <1159287029.5084.149.camel@domain.hid> <4519553A.3040109@domain.hid> <200609262056.30673.niklaus.giger@domain.hid> In-Reply-To: <200609262056.30673.niklaus.giger@domain.hid> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: "Xenomai life and development \(bug reports, patches, discussions\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: niklaus.giger@domain.hid Cc: xenomai@xenomai.org Niklaus Giger wrote: > Am Dienstag, 26. September 2006 18:28 schrieb Wolfgang Grandegger: >> Philippe Gerum wrote: >>> On Tue, 2006-09-26 at 16:56 +0200, gilles.chanteperdrix wrote: >> OK, but in general, soft-float emulation should be used on systems >> without FPU and this is even more important for real-time. This is a >> tool chain issue. Niklaus, what tool chain are you using? >> > In my .config I have > MATH_EMULATION=y You seem to need that because your compiler generates code with hard FP instructions. You could check this with: $ ppc-linux-objdump -d prog|egrep ":\s*[e-f]" > The toolchain is gcc-3.4.4-glibc-2.3.5/powerpc-405-linux-gnu built using Dan > Kegel crosstool (Version 0.42 if I remember exactly). > > Shall I switch to another one? The ELDK from DENX uses FP soft-emulation for 4xx (http://www.denx.de). Choose v3.1.1 for Linux 2.4 and v4 for Linux 2.6. Wolfgang.