This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: var_args for rs6000 backend
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Yao qi" <qiyaobit at hotmail dot com>
- Cc: ian at airs dot com, pinskia at physics dot uc dot edu, gcc at gcc dot gnu dot org
- Date: Fri, 09 Sep 2005 10:34:37 -0400
- Subject: Re: var_args for rs6000 backend
- References: <BAY12-F244E727EB3CB2DA30DE0A2DF980@phx.gbl>
>>>>> 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