This is the mail archive of the gcc-help@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]

Re: How to suppress the generation of float point instructions?


Following demo code will generate float point instruction "lfd" by
compile it with command "powerpc-linux-uclibc-gcc demo.c -S". Since
the actual working code is a part of linux kernel,  I just wanna
suppress the generation of float point instructions. Is there any
way(some gcc flags for example) to finish this job?

-msoft-float . This flag is set by the PowerPC Linux build system automatically already.


Segher



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