public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "kiyoshi dot coquser at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug sim/11284] MADDU instruction increments ACX if non-carry
Date: Tue, 16 Feb 2010 07:03:00 -0000	[thread overview]
Message-ID: <20100216070355.20790.qmail@sourceware.org> (raw)
In-Reply-To: <20100215060644.11284.kiyoshi.coquser@gmail.com>


------- Additional Comments From kiyoshi dot coquser at gmail dot com  2010-02-16 07:03 -------
I also found following issues:

1. -- MULT break ACX --
TEST_MULT:
        li      $t0, 1          /* T0 = 1 */
        mthi    $t0             /* HI = T0 */
        mtlo    $0              /* LO = 0 */
        mtlhx   $0              /* ACX|HI|LO <<= 32 */
        mult    $t0, $t0        /* HI|LO = T0 * T0 */
        mflhxu  $0              /* ACX|HI|LO >>= 32 */
CHECKPOINT1:
        /* HI == 0 (HI SHOUD BE 1) */

2. -- MULTU ignore ACX --
TEST_MULTU:
        li      $t0, 1          /* T0 = 1 */
        mthi    $t0             /* HI = T0 */
        mtlo    $0              /* LO = 0 */
        mtlhx   $0              /* ACX|HI|LO <<= 32 */
        multu   $t0, $t0        /* ACX|HI|LO = T0 * T0 */
        mflhxu  $0              /* ACX|HI|LO >>= 32 */
CHECKPOINT2:
        /* HI == 1 (HI SHOUD BE 0) */

The patch attached to this report will fix these issues.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11284

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2010-02-16  7:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-15  6:06 [Bug sim/11284] New: " kiyoshi dot coquser at gmail dot com
2010-02-15  8:39 ` [Bug sim/11284] " kiyoshi dot coquser at gmail dot com
2010-02-16  7:03 ` kiyoshi dot coquser at gmail dot com [this message]
2010-02-16  7:05 ` kiyoshi dot coquser at gmail dot com
2010-02-16 22:30 ` tromey at redhat dot com
     [not found] <bug-11284-4717@http.sourceware.org/bugzilla/>
2014-03-14  0:46 ` vapier at gentoo dot org

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=20100216070355.20790.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).