From: Andrew Cagney <cagney@gnu.org>
To: DJ Delorie <dj@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] sim/sh: fix movua for little endian
Date: Mon, 23 Aug 2004 19:48:00 -0000 [thread overview]
Message-ID: <412A49B0.7020304@gnu.org> (raw)
In-Reply-To: <200408131934.i7DJYbYX021478@greed.delorie.com>
> The movua opcode was hardcoded for big endian; on little endian
> targets it would retrieve the word backwards. Note that the global
> endian compensators are keyed to the HOST endian as well and are not
> usable for this purpose.
>
> The problem and solution are obvious, but my implementation may not
> be, so I await approval (global maintainers - no sim/sh maintainer).
>
> Tested with an ABI testsuite I'm working on which is known to use
> movua.
Can you add a sim/testsuite/sh-elf/movua.s test? You'll need to clone
the infrastructure from one of the other test directories.
Andrew
> 2004-08-13 DJ Delorie <dj@redhat.com>
>
> * gencode.c (movua.l): Compensate for endianness.
>
next prev parent reply other threads:[~2004-08-23 19:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-13 19:34 DJ Delorie
2004-08-23 19:48 ` Andrew Cagney [this message]
2004-08-23 20:22 ` DJ Delorie
2004-08-23 20:43 ` Andrew Cagney
2004-08-23 21:06 ` DJ Delorie
2004-08-24 13:13 ` Andrew Cagney
2004-08-24 14:55 ` DJ Delorie
2004-09-08 22:35 ` DJ Delorie
2004-09-12 15:02 ` Andrew Cagney
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=412A49B0.7020304@gnu.org \
--to=cagney@gnu.org \
--cc=dj@redhat.com \
--cc=gdb-patches@sources.redhat.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