public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49833] [x32] PIC doesn't work
Date: Mon, 25 Jul 2011 15:21:00 -0000	[thread overview]
Message-ID: <bug-49833-4-NR1ydgUbQJ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49833-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2011-07-25 15:20:42 UTC ---
A shot-in-the-dark change:

(define_insn "*add<mode>_1"
  [(set (match_operand:SWI48 0 "nonimmediate_operand" "=r,rm,r,r")
    (plus:SWI48
      (match_operand:SWI48 1 "nonimmediate_operand" "%0,0,r,r")
      (match_operand:SWI48 2 "<add_operand>" "rme,re,0,le")))
   (clobber (reg:CC FLAGS_REG))]

and

(define_insn "addsi_1_zext"
  [(set (match_operand:DI 0 "register_operand" "=r,r,r")
    (zero_extend:DI
      (plus:SI (match_operand:SI 1 "nonimmediate_operand" "%0,r,r")
           (match_operand:SI 2 "addsi_operand" "rme,0,le"))))
   (clobber (reg:CC FLAGS_REG))]

The constraints of operand 2 now fully follow addsi_operand predicate.


  parent reply	other threads:[~2011-07-25 15:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-25  1:49 [Bug target/49833] New: " hjl.tools at gmail dot com
2011-07-25 13:59 ` [Bug target/49833] [x32] " hjl.tools at gmail dot com
2011-07-25 14:37 ` hjl.tools at gmail dot com
2011-07-25 14:52 ` ubizjak at gmail dot com
2011-07-25 15:21 ` ubizjak at gmail dot com [this message]
2011-07-25 16:15 ` hjl.tools at gmail dot com
2011-07-25 16:15 ` hjl.tools at gmail dot com
2011-07-25 16:24 ` ubizjak at gmail dot com
2011-07-25 16:42 ` hjl.tools at gmail dot com
2011-07-25 16:59 ` ubizjak at gmail dot com
2011-07-25 18:04 ` hjl.tools at gmail dot com
2011-07-25 18:28 ` hjl.tools at gmail dot com
2011-07-25 18:29 ` hjl.tools at gmail dot com
2011-07-25 19:19 ` pluto at agmk dot net
2011-07-25 19:40 ` hjl.tools at gmail dot com
2011-07-25 19:52 ` ubizjak at gmail dot com
2011-07-25 19:59 ` hjl.tools at gmail dot com
2011-07-25 20:01 ` hjl.tools at gmail dot com
2011-07-25 20:11 ` hjl.tools at gmail dot com
2011-07-25 20:13 ` hjl.tools at gmail dot com
2011-07-26 12:01 ` uros at gcc dot gnu.org
2011-07-26 12:13 ` ubizjak at gmail dot com
2011-07-29 16:01 ` hjl at gcc dot gnu.org

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=bug-49833-4-NR1ydgUbQJ@http.gcc.gnu.org/bugzilla/ \
    --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).