From: Ulrich Hecht <uli@suse.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] ARM (Thumb) read from R15
Date: Mon, 2 Jul 2007 13:12:39 +0200 [thread overview]
Message-ID: <200707021312.40022.uli@suse.de> (raw)
In-Reply-To: <200706300319.58521.paul@codesourcery.com>
On Saturday 30 June 2007 04:19, Paul Brook wrote:
> > QEMU does not set the Thumb bit when reading from R15 in Thumb mode.
>
> Neither does real hardware.
You are, unsurprisingly, right. The problem seems to be a different one.
Quoting the ARM on "pop pc":
"In ARM architecture 5 and above, bit[0] of the loaded value determines
whether execution continues after this branch in ARM state or in Thumb
state[...] In T variants of architecture version 4, bit[0] of the loaded
value is ignored and execution continues in Thumb state[...]"
My code is supposed to run on a 4T. I guess I'll have to implement an
ARM_FEATURE_THUMB1.
CU
Uli
--
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2007-07-02 11:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 14:31 [Qemu-devel] [PATCH] ARM (Thumb) read from R15 Ulrich Hecht
2007-06-28 15:30 ` Ulrich Hecht
2007-06-28 15:53 ` Ulrich Hecht
2007-06-30 2:19 ` Paul Brook
2007-07-02 11:12 ` Ulrich Hecht [this message]
2007-07-02 13:17 ` Paul Brook
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=200707021312.40022.uli@suse.de \
--to=uli@suse.de \
--cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.