From: Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
To: Doug Evans <dje@transmeta.com>
Cc: Andrew Cagney <ac131313@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] fix trap in parallel for m32r-sim
Date: Fri, 16 Jan 2004 05:56:00 -0000 [thread overview]
Message-ID: <006d01c3dbf6$5edebfc0$2569910a@tool.maec.co.jp> (raw)
In-Reply-To: <16391.23988.251985.754761@claire.transmeta.com>
> There's no documentation here that indicates why things are being
> done the way they are.
> If it were my call, I would require more comments.
> i.e. _why_ is "trap || insn" being treated as "insn -> trap".
> This seems like an erroneous thing to do at first glance,
> ergo the need for comments explaining why things are the way they are.
> Does h/w really work that way?
The sequence is the same.
If insn changes SM, IE or C flag, trap will be store wrong value. (rare
case?)
When you use "trap || insn", m32r_trap() is executed before executed insn.
A m32r_trap() uses a result of insn.
ex) trap #2 || ldi r7,#1
What want to do is to execute m32r_trap() after second insn.
> Also, if things are indeed kosher, why the added FIXMEs?
It's meaning this patch is not enough to fix it.
I think it is a first step.
Kazuhiro
next prev parent reply other threads:[~2004-01-16 5:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-16 3:26 Kazuhiro Inaoka
2004-01-16 3:43 ` Doug Evans
2004-01-16 5:56 ` Kazuhiro Inaoka [this message]
2004-01-16 21:11 ` Doug Evans
2004-01-19 6:29 ` Kazuhiro Inaoka
2004-01-19 23:05 ` Doug Evans
2004-01-20 4:57 ` Kazuhiro Inaoka
2004-01-27 3:53 ` 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='006d01c3dbf6$5edebfc0$2569910a@tool.maec.co.jp' \
--to=inaoka.kazuhiro@renesas.com \
--cc=ac131313@redhat.com \
--cc=dje@transmeta.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