|
From: | Kiran Chuhan |
Subject: | help required for floating point support for motorolla PowerPC 8240 |
Date: | Mon, 12 Feb 2001 12:16:04 +0530 |
hi, i am developing one application for motorolla PowerPC 8240 which supports Hardware FPU. I am using tornado version 2.0 as developing environment . what i did is , i had implemented floating point instruction using "C" ( e.g float1 = float2 / 2.3 ; ) and generate the code for the same. i want to have hardware floating point support for the that. As i need to have hardware floating point support, i found one flag value for the same is "-msoft-float" / "-mhard-float".i implemented this value in ADDED_CFLAGS in makefile(attached). after building the code , i check the assembly instruction. While builing from the tornado i can see the value added in flag been used (on output screen) but still i could not see use of any hardware floating point instruction. If anywhere else change is required please suggest. so please suggest that how i can proceed. jignesh shah
software engineer, ERTA (Embedded and Real Time
Application)
Contech Software Ltd Tel : (Office )+91(2712) 44989/43324/43328, (R) : (02712) 29215 Email : jigneshs@contech.soft.net CompanyURL : http://www.contechsoftware.com
|
makefile
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |