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]

Re: var_args for rs6000 backend




Yes. TARGET_HARD_FLOAT is defined as


#define TARGET_HARD_FLOAT ((target_flags & MASK_SOFT_FLOAT) == 0)

The -mhard-float option will clear the MASK_SOFT_FLOAT bit in
target_flags.


Yes, this option works when I use it in GDB like this,
(gdb) run -mhard-float ../../gcc-dfp-cvs-Aung-10/gcc/testsuite/gcc.dg/dfp/qiyao/varargs-1.expand -o vararg-1.exe
and TARGET_HARD_FLOAT becomes *TRUE*. Thanks.


The default setting of the MASK_SOFT_FLOAT bit in target_flags depends
upon the default processor.


The condition is not always false. The value depends on exactly how you have configured the compiler and exactly what options you pass.

Ian


Best Regards
----------------
Yao Qi
Bejing Institute of Technology

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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