This is the mail archive of the gcc-patches@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]

Re: x86_64 merger part 32 - trampolines


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


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