This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: x86_64 merger part 32 - trampolines
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: x86_64 merger part 32 - trampolines
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Apr 2001 12:28:02 -0300
- Cc: patches at x86-64 dot org, rth at cygnus dot com, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010404113943.P11040@atrey.karlin.mff.cuni.cz>
On Apr 4, 2001, Jan Hubicka <jh@suse.cz> wrote:
> + emit_move_insn (gen_rtx_MEM (QImode, tramp), GEN_INT (0xb9));
This is not valid RTL, and a patch I'm about to install will get this
error to be detected. CONST_INTs must be sign-extended for the modes
in which they are. Use trunc_int_for_mode (0xb9, QImode), or
something equivalent that gets the higher bits to be a sign-extension
of the most significant bit of the given mode.
Similarly for all other constants that have the most significant bit
set.
Don't bother to adjust anything checked in the FSF repo up to
yesterday, I've already adjusted them (patch pending), but please
avoid installing any further changes that don't follow this rule.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me