Problem in printf float values in range (-1 < value < 1)

2010-02-18 Thread Naveen H. S
Hi, We are porting gcc toolchain for a new target. Most of the functionalities are working fine as expected. However, there is one issue regarding the printf function. Issue - Float variables are prefixed by some garbage value in printf function. However, the values are generated correctly

Pseudo frame pointer register in assembly code

2010-06-08 Thread Naveen H. S
Hi, We have been implementing GCC port for a new target. The FRAME_POINTER_REGNUM is defined a pseudo register in header file. I am using the following macros in header file to eliminate the pseudo arg pointer and frame pointer. However, there are some instances of frame pointer in the assembly c

SH optimized software floating point routines

2010-06-10 Thread Naveen H. S
Hi, Software floating point(libgcc) routines were implemented for SH in the following links:- http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00063.html http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00614.html http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00624.html There were some discussions regardi

RE: Pseudo frame pointer register in assembly code

2010-06-13 Thread Naveen H. S
>> you can define a hard register HARD_FRAME_POINTER_REGNUM. Either >> way, it should not be a fixed register. In the latter case, have >> an elimination from FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM. Hi Ian, Thanks a lot for the useful suggestion. The "HARD_FRAME_POINTER_REGNUM"

RE: SH optimized software floating point routines

2010-07-19 Thread Naveen H. S
Hi. Thank you for the modified patch. I have applied the patch to gcc-4.5 sources and checking the regression for SH[1234]. I will run some more tests on the modified (patched) toolchain. I will share the test results after the regression and other tests are complete. Regards, Naveen

RE: SH optimized software floating point routines

2010-08-04 Thread Naveen H. S
Hi, >> I've tested sh-softfp-20100718-2131 + sh-softfp-predicate-fix >> on -m1, -m2, -m3, -m3 -ml, -m2a on sh-elf, sh4-linux and >> sh64-linux The SH toolchain was built with the following patches and regression is completed. 1. sh-softfp-20100718-2131 2. sh-softfp-predicate-fix 3. Patch by Kaz

RE: toplevel *again* out of sync

2010-10-04 Thread Naveen H. S
Hi, >> Nick, Naveen, the diff between the GCC and the src commits is this; >> which variant is correct? >> -noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" >> +noconfigdirs="$noconfigdirs ${libgcj}" The following variant in src is the correct version:- +noconfigdirs="$noconfigd