public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl dot tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/35466] Different assembly codes on 32bit and 64bit hosts
Date: Wed, 05 Mar 2008 04:28:00 -0000	[thread overview]
Message-ID: <20080305042712.25528.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35466-682@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from hjl dot tools at gmail dot com  2008-03-05 04:27 -------
The difference comes from tree_expand_cfg pass:

[hjl@gnu-9 stage1-gcc]$ diff -up 32/x.i.132r.expand 64
--- 32/x.i.132r.expand  2008-03-04 20:25:21.000000000 -0800
+++ 64/x.i.132r.expand  2008-03-04 20:25:12.000000000 -0800
@@ -5,20 +5,18 @@
 ;; Generating RTL for tree basic block 2

 ;; <retval> = 1234123412341234.123412341234
-(insn 6 5 7 x.i:3 (set (subreg:TI (reg:TD 59) 0)
-        (mem/u/c:TI (symbol_ref/u:SI ("*.LC0") [flags 0x2]) [0 S16 A128])) -1
(nil))
-
-(insn 7 6 8 x.i:3 (set (reg:TI 60)
-        (subreg:TI (reg:TD 59) 0)) -1 (nil))
+(insn 6 5 7 x.i:3 (set (reg:TI 59)
+        (mem/u/c/i:TI (symbol_ref/u:SI ("*.LC0") [flags 0x2]) [0 S16 A128]))
-1 (expr_list:REG_EQUAL (const_double 4404704354742567410 [0x3d20a746050c01f2]
3470023512955869132 [0x3028000003fcd7cc] 0 [0x0] 0 [0x0])
+        (nil)))

-(insn 8 7 0 x.i:3 (set (mem/c/i:TI (reg/f:SI 58 [ D.1355 ]) [0 <result>+0 S16
A128])
-        (reg:TI 60)) -1 (nil))
+(insn 7 6 0 x.i:3 (set (mem/c/i:TI (reg/f:SI 58 [ D.1370 ]) [0 <result>+0 S16
A128])
+        (reg:TI 59)) -1 (nil))

 ;; return <retval>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35466


  reply	other threads:[~2008-03-05  4:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-05  4:13 [Bug target/35466] New: " hjl dot tools at gmail dot com
2008-03-05  4:28 ` hjl dot tools at gmail dot com [this message]
2008-03-05  7:40 ` [Bug target/35466] " steven at gcc dot gnu dot org
2008-03-05  7:50 ` pinskia at gcc dot gnu dot org
2008-03-06  9:44 ` rguenth at gcc dot gnu dot org
2008-03-06 13:33 ` jsm28 at gcc dot gnu dot org
2008-03-06 13:39 ` rguenth at gcc dot gnu dot org
2008-03-06 13:52 ` jsm28 at gcc dot gnu dot org
2009-04-07 16:52 ` info dot gnu at rt-labs dot com
2009-04-08  6:07 ` hp at gcc dot gnu dot org
2009-09-17  9:41 ` ubizjak at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080305042712.25528.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).