diff mbox

SPARC64: treat UA2007 ASI_BLK_* as translating ASIs.

Message ID 1310967138-23132-1-git-send-email-tsnsaito@gmail.com
State New
Headers show

Commit Message

Tsuneo Saito July 18, 2011, 5:32 a.m. UTC
UA2007 ASI_BLK_* should be added in is_translating_asi().

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
---
 target-sparc/op_helper.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Artyom Tarasenko July 20, 2011, 9:56 a.m. UTC | #1
On Mon, Jul 18, 2011 at 7:32 AM, Tsuneo Saito <tsnsaito@gmail.com> wrote:
> UA2007 ASI_BLK_* should be added in is_translating_asi().
>
> Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>

The comment "Ultrasparc IIi translating asi" has to be adjusted too.
Otherwise
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>

The other patches - fcmp and fmovd  - pass my tests, but Blue may want
to review them himself.
Blue Swirl July 20, 2011, 9:15 p.m. UTC | #2
Thanks, applied.

On Mon, Jul 18, 2011 at 8:32 AM, Tsuneo Saito <tsnsaito@gmail.com> wrote:
> UA2007 ASI_BLK_* should be added in is_translating_asi().
>
> Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
> ---
>  target-sparc/op_helper.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
> index 15af27b..8b9eb9f 100644
> --- a/target-sparc/op_helper.c
> +++ b/target-sparc/op_helper.c
> @@ -287,7 +287,8 @@ static inline int is_translating_asi(int asi)
>      */
>     switch (asi) {
>     case 0x04 ... 0x11:
> -    case 0x18 ... 0x19:
> +    case 0x16 ... 0x19:
> +    case 0x1E ... 0x1F:
>     case 0x24 ... 0x2C:
>     case 0x70 ... 0x73:
>     case 0x78 ... 0x79:
> --
> 1.7.5.4
>
>
>
diff mbox

Patch

diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index 15af27b..8b9eb9f 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -287,7 +287,8 @@  static inline int is_translating_asi(int asi)
      */
     switch (asi) {
     case 0x04 ... 0x11:
-    case 0x18 ... 0x19:
+    case 0x16 ... 0x19:
+    case 0x1E ... 0x1F:
     case 0x24 ... 0x2C:
     case 0x70 ... 0x73:
     case 0x78 ... 0x79: