public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/21291] can't find a register in class 'GENERAL_REGS' while reloading 'asm' Date: Fri, 29 Apr 2005 21:45:00 -0000 [thread overview] Message-ID: <20050429214547.3129.qmail@sourceware.org> (raw) In-Reply-To: <20050429212215.21291.pluto@pld-linux.org> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-29 21:45 ------- Reduced testcase: typedef unsigned long bngdigit; typedef bngdigit * bng; typedef unsigned int bngcarry; typedef unsigned long bngsize; bngdigit bng_ia32_mult_sub_digit (bng a , bngsize alen, bng b , bngsize blen, bngdigit d) { bngdigit out, tmp; bngcarry carry; bngdigit a11; alen -= blen; out = 0; asm("" : "+r" (a), "+r" (b), "+mr" (blen), "+mr" (out), "=&r" (tmp) : "mr" (d) : "eax", "edx"); if (alen == 0) {a11 =out; goto t;} a11 = 1; t: return a11; } We are just running out of registers which is what x86 is known for. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21291
next prev parent reply other threads:[~2005-04-29 21:45 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-29 21:22 [Bug other/21291] New: " pluto at pld-linux dot org 2005-04-29 21:23 ` [Bug other/21291] " pluto at pld-linux dot org 2005-04-29 21:28 ` [Bug rtl-optimization/21291] " pinskia at gcc dot gnu dot org 2005-04-29 21:30 ` pluto at pld-linux dot org 2005-04-29 21:43 ` pluto at pld-linux dot org 2005-04-29 21:45 ` pinskia at gcc dot gnu dot org [this message] 2005-04-29 21:58 ` [Bug middle-end/21291] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org 2005-04-30 8:25 ` uros at kss-loka dot si 2005-04-30 9:35 ` pluto at pld-linux dot 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=20050429214547.3129.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: linkBe 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).