Dealing with ambiguities in GAS
Mark Mitchell
mark@codesourcery.com
Mon Aug 16 07:11:00 GMT 2004
Zack Weinberg wrote:
>Mark Mitchell <mark@codesourcery.com> writes:
>
>
>
>>My current idea is to have default_assembler_integer return
>>false for sizes greater than HOST_WIDE_INT
>>
>>
>Uh, did you mean int32_t here?
>
>
Yes. I got confused about exactly what to parameterize where. :-(
What it boils down to is having default_assemble_integer return false
for all values greater than sizeof (int32_t).
(Another advantage of this, by the way, is that it would eliminate a
difference in the generated code that comes purely from whether or not
GCC is configured with a 64-bit HOST_WIDE_INT. At present, a 64-bit
host will generate .8byte directives, while a 32-bit host will generate
two .4byte directives, given the same input. It seems to me that the
code generated should purely be a function of the target.)
--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com
More information about the Gcc
mailing list