From: Joel Sherrill <joel.sherrill@oarcorp.com>
To: gdb@sourceware.org
Cc: Ralf Corsepius <ralf.corsepius@rtems.org>
Subject: powerpc simulator instruction question
Date: Fri, 17 Nov 2006 19:53:00 -0000 [thread overview]
Message-ID: <455E1337.1050100@oarcorp.com> (raw)
Hi,
Version: gdb 6.5 with ppc simulator enabled.
I have an RTEMS program which seems to have the FPU
enabled OK since it executes the instructions at
0x9a0, 0x9ac, and 0x9b0. But it gets an exception
0x0700 at 0x9b4.
9a0: fd 8c 00 32 fmul f12,f12,f0
9a4: c0 09 0c e0 lfs f0,3296(r9)
9a8: 39 21 00 48 addi r9,r1,72
9ac: fd 8c 00 32 fmul f12,f12,f0
9b0: fd a0 60 1e fctiwz f13,f12
9b4: 7d a0 4f ae stfiwx f13,0,r9
The device tree file is:
#address-cells 2
/openprom/init/register/pvr 0xfffe0000
/openprom/options/oea-memory-size 8388608
The code in question was compiled with -mcpu=603e.
I have tried starting the simulator with no model
argument (tar sim...), 603e (-m 603e) and 603 without
any difference.
The stfiwx was generated by gcc.
Is the stfiwx not implemented in the simulator? Not valid?
Any suggestions, patches?
I can provide the executable in question if it helps
someone.
Thanks.
--joel sherrill
next reply other threads:[~2006-11-17 19:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-17 19:53 Joel Sherrill [this message]
2006-11-17 19:57 ` Daniel Jacobowitz
2006-11-17 20:08 ` Joel Sherrill
2006-11-17 20:11 ` Daniel Jacobowitz
2006-11-17 20:45 ` Joel Sherrill
2006-11-19 20:37 ` Frank Ch. Eigler
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=455E1337.1050100@oarcorp.com \
--to=joel.sherrill@oarcorp.com \
--cc=gdb@sourceware.org \
--cc=ralf.corsepius@rtems.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox