This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dealing with ambiguities in GAS
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc at gcc dot gnu dot org, Ian Lance Taylor <ian at wasabisystems dot com>
- Date: Sun, 15 Aug 2004 23:45:27 -0700
- Subject: Re: Dealing with ambiguities in GAS
- Organization: CodeSourcery, LLC
- References: <41205458.5040902@codesourcery.com> <87pt5r7fns.fsf@codesourcery.com>
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