Skip to contentSkip to conversation

Alpha cpu: fix emulation of ecb

PATCH Applied Tristan Gingold 2 participants 2 messages Apr 10, 2009 – Apr 15, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Alpha cpu: fix emulation of ecb

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

This change is necessary to boot Tru64.

---
 target-alpha/translate.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
target-alpha/translate.c +0 -6
index ff9d8e2..9702214 100644
@@ -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 */
Signature · 1 line
1.6.2
#1 lore raw
Quoted 3 lines · Tristan Gingold

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

This change is necessary to boot Tru64.

Thanks, applied.

Quoted 28 lines
---
 target-alpha/translate.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
target-alpha/translate.c +0 -6
index ff9d8e2..9702214 100644
@@ -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 */
Signature · 1 line
1.6.2
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net