This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: New trunk breakage on mips-sgi-irix6.2 stage1 compiling libgcc2
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 May 2001 15:19:28 -0300
- Cc: ghazi at caip dot rutgers dot edu, gcc-bugs at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu, gcc-patches at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200105040247.WAA02728@caip.rutgers.edu><orae4q3db3.fsf@guarana.lsd.ic.unicamp.br><20010506105300S.mitchell@codesourcery.com>
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