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: mips cc1 spec vs. fp reg defines vs. assembly code


At Wed, 12 Jun 2002 06:35:37 +0100, Neil Booth wrote:
> I guess this use to be right, but is now b0rken because cc1 is the
> preprocessor, and the preprocessor now has state set my cc1 (in
> c-common.c with the TARGET_CPU_CPP_BUILTINS etc.) and that cc1 state
> is not properly set because that requires a %(cc1_options) in a 
> suitable place in the .S spec.
> 
> Just a guess.
> 
> Or is that cc1 is trying to be too clever when just preprocessing, and
> making sanity checks only appropriate for when it's acting as a
> compiler?

not really sure, but i think the former...

in this case, -mfp32 from cc1_spec is also necessary to get the right
values so that the __mips_fpr cpp define gets the right value.



chris


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