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: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2


On May  6, 2001, Mark Mitchell <mark@codesourcery.com> wrote:

> But why doesn't this hunk:

>   -			       copy_to_mode_reg (DImode, GEN_INT (BITMASK_HIGH)),
>   +			       copy_to_mode_reg (DImode,
>   +						 GEN_INT (BITMASK_HIGH)),

> need the trunc_int_for_mode treatment?

Because BITMASK_HIGH is only 32-bits wide, and it's being stored in a
DImode register, so there's no need for sign-extension.  In fact, it's
zero-extended, which is (or at least seems to be) the intent.

-- 
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]