This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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 with arm -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 for this

if then, whether it will be supported on binutils and the gdb simulator

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]