qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Alpha cpu: fix emulation of ecb
@ 2009-04-10  8:51 Tristan Gingold
  2009-04-15 14:46 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Tristan Gingold @ 2009-04-10  8:51 UTC (permalink / raw)
  To: qemu-devel

As ECB is a hint, it can be safely emulated as a nop.

This change is necessary to boot Tru64.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
---
 target-alpha/translate.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index ff9d8e2..9702214 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -1720,12 +1720,6 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
             break;
         case 0xE800:
             /* ECB */
-            /* XXX: TODO: evict tb cache at address rb */
-#if 0
-            ret = 2;
-#else
-            goto invalid_opc;
-#endif
             break;
         case 0xF000:
             /* RS */
-- 
1.6.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] Alpha cpu: fix emulation of ecb
  2009-04-10  8:51 [Qemu-devel] [PATCH] Alpha cpu: fix emulation of ecb Tristan Gingold
@ 2009-04-15 14:46 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2009-04-15 14:46 UTC (permalink / raw)
  To: Tristan Gingold; +Cc: qemu-devel

On Fri, Apr 10, 2009 at 10:51:24AM +0200, Tristan Gingold wrote:
> As ECB is a hint, it can be safely emulated as a nop.
> 
> This change is necessary to boot Tru64.

Thanks, applied.

> Signed-off-by: Tristan Gingold <gingold@adacore.com>
> ---
>  target-alpha/translate.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/target-alpha/translate.c b/target-alpha/translate.c
> index ff9d8e2..9702214 100644
> --- a/target-alpha/translate.c
> +++ b/target-alpha/translate.c
> @@ -1720,12 +1720,6 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn)
>              break;
>          case 0xE800:
>              /* ECB */
> -            /* XXX: TODO: evict tb cache at address rb */
> -#if 0
> -            ret = 2;
> -#else
> -            goto invalid_opc;
> -#endif
>              break;
>          case 0xF000:
>              /* RS */
> -- 
> 1.6.2
> 
> 
> 
> 

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-15 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10  8:51 [Qemu-devel] [PATCH] Alpha cpu: fix emulation of ecb Tristan Gingold
2009-04-15 14:46 ` Aurelien Jarno

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 NNTP newsgroup(s).