This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i386 build problem on 64bit machines
- To: gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: i386 build problem on 64bit machines
- From: Jan Hubicka <jh at suse dot cz>
- Date: Mon, 19 Mar 2001 18:55:59 +0100
Hi
I've checked in following fix as obvious. The problem has been reported by Richard
Kenner and even when I don't have machine to test, I believe it will do the trick.
Honza
Mon Mar 19 18:53:54 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (absdf2 expander): Fix 64bit case.
Index: i386.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.237
diff -c -3 -p -r1.237 i386.md
*** i386.md 2001/03/16 13:51:49 1.237
--- i386.md 2001/03/19 17:52:56
***************
*** 7700,7706 ****
in register. */
rtx reg = gen_reg_rtx (DFmode);
#if HOST_BITS_PER_WIDE_INT >= 64
! rtx imm = gen_reg_rtx (GEN_INT (0x80000000));
#else
rtx imm = immed_double_const (0, 0x80000000, DImode);
#endif
--- 7700,7706 ----
in register. */
rtx reg = gen_reg_rtx (DFmode);
#if HOST_BITS_PER_WIDE_INT >= 64
! rtx imm = GEN_INT (0x80000000);
#else
rtx imm = immed_double_const (0, 0x80000000, DImode);
#endif