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


>>>>> Yao qi writes:

>> 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.

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

	This implies that you are developing and testing GCC with it
configured incorrectly, unless you really want to test the behavior of DFP
on GCC with no hardware (binary) floating point enabled.

David


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