From: Ian Lance Taylor <iant@google.com>
To: Kalai Rajah N <kalairajah@gmail.com>
Cc: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Re: Thumb inline assembly
Date: Tue, 11 Jun 2013 00:31:00 -0000 [thread overview]
Message-ID: <CAKOQZ8z-ffmwbk25segA8bb8mcxzdA1JVfSxOVMTfdko8mA4CA@mail.gmail.com> (raw)
In-Reply-To: <CAPTDLfG_XuCfGrs6fur6W6trnDxp=y+7fvcQKCTCp7ecQ5XxCA@mail.gmail.com>
> From: Kalai Rajah N <kalairajah@gmail.com>
> Date: Mon, Jun 10, 2013 at 5:19 PM
> Subject: Re: Thumb inline assembly
> To: Ian Lance Taylor <iant@google.com>
>
>
> If the clobber-list is removed, the errors are on r1,r2, r3 and the
> generated assembly code is ...
When you clobber r0 through r3 they can't be used as input registers.
I still haven't seen a complete standalone test case, but perhaps GCC
is in ARM mode but you are generating Thumb assembly code.
Ian
next prev parent reply other threads:[~2013-06-11 0:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 21:41 Kalai Rajah N
2013-06-10 22:51 ` Ian Lance Taylor
2013-06-10 23:19 ` Kalai Rajah N
2013-06-10 23:59 ` Ian Lance Taylor
2013-06-11 0:06 ` Kalai Rajah N
2013-06-11 0:13 ` Ian Lance Taylor
[not found] ` <CAPTDLfH--WkreVXSDb7nt6KsKP+vBH3q_eoJX7yvqm=O8QzF0A@mail.gmail.com>
2013-06-11 0:20 ` Fwd: " Kalai Rajah N
2013-06-11 0:31 ` Ian Lance Taylor [this message]
2013-06-11 0:41 ` Kalai Rajah N
2013-06-11 1:01 ` Ian Lance Taylor
2013-06-11 18:27 ` Kalai Rajah N
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=CAKOQZ8z-ffmwbk25segA8bb8mcxzdA1JVfSxOVMTfdko8mA4CA@mail.gmail.com \
--to=iant@google.com \
--cc=gcc-help@gcc.gnu.org \
--cc=kalairajah@gmail.com \
/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).