Re: gcc and vfp instructions

2005-04-01 Thread Richard Earnshaw
On Fri, 2005-04-01 at 18:09, aram bharathi wrote: > hi > > i have downloaded the gcc4.0 from the gcc web site > and i compiled the above program by the following option > > main() > { > float a=88.88,b=99.99,c=0; > c=a*b; > printf("%f",c); > } > > arm-elf-gcc -mfpu=vfp -S new.c > > but it produ

Re: gcc and vfp instructions

2005-04-01 Thread aram bharathi
structions. for example for multiplying a and b they havent used fmuls.. is there any special command line option should b given to produce new.s with fmuls thanks - Original Message - From: "Richard Earnshaw" <[EMAIL PROTECTED]> To: "aram bharathi" <[EMA

Re: gcc and vfp instructions

2005-03-22 Thread Richard Earnshaw
On Tue, 2005-03-22 at 08:51, aram bharathi wrote: > hi, >i like to know whether gcc can generate vfp instructions.. > > main() > { > float a=88.88,b=99.99,c=0; > c=a+b; > printf("%f",c); > } > > i used the following option to compile the above program > > arm-elf-gcc -mfp=2 -S new.c > > but

gcc and vfp instructions

2005-03-22 Thread aram bharathi
hi, i like to know whether gcc can generate vfp instructions.. main() { float a=88.88,b=99.99,c=0; c=a+b; printf("%f",c); } i used the following option to compile the above program arm-elf-gcc -mfp=2 -S new.c but it produces the new.s file without any special kind of (vfp instructions) inst

gcc and vfp instructions

2005-03-22 Thread aram bharathi
hi, i like to know whether gcc can generate vfp instructions.. main() { float a=88.88,b=99.99,c=0; c=a+b; printf("%f",c); } i used the following option to compile the above program arm-elf-gcc -mfp=2 -S new.c but it produces the new.s file without any special kind of (vfp instructions) inst