public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
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:13:00 -0000	[thread overview]
Message-ID: <CAKOQZ8z+0+c3P3Pt_4gihVHOM2hLMtpKHBnVsVnj30ucvwkuLw@mail.gmail.com> (raw)
In-Reply-To: <CAPTDLfE=4OsyEkYEiPTjCZZ8m7AOzqHcQEC7kHEi+xube=Q-kg@mail.gmail.com>

On Mon, Jun 10, 2013 at 5:06 PM, Kalai Rajah N <kalairajah@gmail.com> wrote:
> Do you mean push is not supported or the specific parameters used by
> push in this code?
>
> But, from ARM's page, it seems the instruction is fine ...
>
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0283b/Babefbce.html

That page says that in Thumb mode the push instruction only supports
the lo registers.

Ian

> On Mon, Jun 10, 2013 at 4:51 PM, Ian Lance Taylor <iant@google.com> wrote:
>> On Mon, Jun 10, 2013 at 4:19 PM, Kalai Rajah N <kalairajah@gmail.com> wrote:
>>>
>>> .thumb_func
>>
>> This is a Thumb function.
>>
>>> push {r4, r5, r6, r7, r8}
>>
>> As far as I know this is not a Thumb instruction.
>>
>> I don't know how this gets through the assembler.
>>
>> Ian

  reply	other threads:[~2013-06-11  0:13 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 [this message]
     [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
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+0+c3P3Pt_4gihVHOM2hLMtpKHBnVsVnj30ucvwkuLw@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).