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: Dealing with ambiguities in GAS


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


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