Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Abid, Hafiz" <hafiz_abid@mentor.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: Joel Brobecker <brobecker@adacore.com>, <gdb-patches@sourceware.org>
Subject: Re: [patch, sim] Add isel instruction
Date: Fri, 03 May 2013 07:26:00 -0000	[thread overview]
Message-ID: <1367565979.5163.0@abidh-ubunto1104> (raw)
In-Reply-To: <201304301309.48611.vapier@gentoo.org> (from vapier@gentoo.org	on Tue Apr 30 18:09:41 2013)

On 30/04/13 18:09:41, Mike Frysinger wrote:
> On Tuesday 30 April 2013 07:12:35 Abid, Hafiz wrote:
> > On 30/04/13 12:05:14, Joel Brobecker wrote:
> > > > Thansk for lettting me know. If this is urgent for you then I  
> can
> > > > revert as it may take me some time to find a fix.
> > >
> > > Do you have an idea of what "some time" would mean?
> >
> > By the end of this week.
> 
> i'm fine with that ... if it goes longer, then let's punt it
> -mike

It looks that isel was already supported in the simulator for the e500.  
The duplication caused the error that Joel observed. I will revert now  
with the following.

Thanks,
Abid

sim/ppc/ChangeLog:
2013-05-03  Hafiz Abid Qadeer  <abidh@codesourcery.com>

	revert:
	2013-04-19  Nathan Froyd  <froydnj@codesourcery.com>
	* ppc-instructions (isel): New instruction.

diff --git a/sim/ppc/ppc-instructions b/sim/ppc/ppc-instructions
index d76a765..1b8fd89 100644
--- a/sim/ppc/ppc-instructions
+++ b/sim/ppc/ppc-instructions
@@ -3455,19 +3455,6 @@  
void::function::invalid_zero_divide_operation:cpu *proces
         PPC_INSN_MFCR(RT_BITMASK);

  #
-# I.3.3.15 Fixed-Point Select
-#
-
-0.31,6.RT,11.RA,16.RB,21.BF,26.15,31./:A::isel:Integer Select
-       unsigned_word a;
-       if (RA_is_0) a = 0;
-       else         a = *rA;
-       if (CR & (1 << (31 - BF)))
-         *rT = a;
-       else
-         *rT = *rB;
-
-#



       reply	other threads:[~2013-05-03  7:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201304301309.48611.vapier@gentoo.org>
2013-05-03  7:26 ` Abid, Hafiz [this message]
2013-05-06 10:28   ` Joel Brobecker
     [not found] <201304191348.39851.vapier@gentoo.org>
2013-04-19 20:48 ` Abid, Hafiz
2013-04-20  7:37   ` Mike Frysinger
2013-04-19 19:02 Abid, Hafiz
2013-04-30 12:02 ` Joel Brobecker
2013-04-30 15:30   ` Joel Brobecker
2013-04-30 16:29   ` Abid, Hafiz
2013-04-30 16:30     ` Joel Brobecker
2013-04-30 17:12       ` Abid, Hafiz

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=1367565979.5163.0@abidh-ubunto1104 \
    --to=hafiz_abid@mentor.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=vapier@gentoo.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