This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc and vfp instructions


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) instructions
how to generate them using gcc

or i have to use inline assembly for this operation 


thanks



-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]