public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vapier at gentoo dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug sim/29276] mips: mips.igen:1453:15: error: conversion from ‘long long unsigned int’ to ‘unsigned_word’
Date: Sun, 23 Oct 2022 19:44:58 +0000	[thread overview]
Message-ID: <bug-29276-4717-wAjCGm6C8Y@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29276-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=29276

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|sim/mips/sim-main.h:41:25:  |mips: mips.igen:1453:15:
                   |error: conversion from      |error: conversion from
                   |‘long long unsigned int’ to |‘long long unsigned int’ to
                   |‘unsigned_word’             |‘unsigned_word’
                 CC|                            |andrew.bennett at imgtec dot com

--- Comment #2 from Mike Frysinger <vapier at gentoo dot org> ---
the code in question is:
:function:::void:do_dmfc1b:int rt, int fs
*mipsIV:
*mipsV:
*mips64:
*mips64r2:
*mips64r6:
*vr4100:
*vr5000:
*r3900:
*micromips64:
{
  if (SizeFGR () == 64)
    GPR[rt] = FGR[fs];
  else if ((fs & 0x1) == 0)
    GPR[rt] = SET64HI (FGR[fs+1]) | FGR[fs];
  else
    GPR[rt] = SET64HI (0xDEADC0DE) | 0xBAD0BAD0;
  TRACE_ALU_RESULT (GPR[rt]);
}

this was introduced here:
commit 8e394ffc7ab691eafcf276d7ae578454a8c5548f
Author: Andrew Bennett <andrew.bennett@imgtec.com>
Date:   Fri Sep 25 15:52:18 2015 +0100

    [PATCH] Add micromips support to the MIPS simulator

-- 
You are receiving this mail because:
You are on the CC list for the bug.

  parent reply	other threads:[~2022-10-23 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-22 19:02 [Bug sim/29276] New: sim/mips/sim-main.h:41:25: " hector.oron at gmail dot com
2022-10-23 18:29 ` [Bug sim/29276] " vapier at gentoo dot org
2022-10-23 19:44 ` vapier at gentoo dot org [this message]
2022-10-23 19:49 ` [Bug sim/29276] mips: mips.igen:1453:15: " vapier at gentoo dot org
2022-11-04  0:45 ` vapier at gentoo dot org
2022-11-08  7:57 ` 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=bug-29276-4717-wAjCGm6C8Y@http.sourceware.org/bugzilla/ \
    --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).