qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 314992: linux-user: fix mips 32-on-64 preallo


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 314992: linux-user: fix mips 32-on-64 prealloc case
Date: Tue, 08 Jan 2013 08:00:16 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 314992b1a48a5a2a0f2b14195f959ad2c3f5b3ff
      
https://github.com/qemu/qemu/commit/314992b1a48a5a2a0f2b14195f959ad2c3f5b3ff
  Author: Alexander Graf <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M linux-user/main.c

  Log Message:
  -----------
  linux-user: fix mips 32-on-64 prealloc case

MIPS only supports 31 bits of virtual address space for user space, so let's
make sure we stay within that limit with our preallocated memory block.

This fixes the MIPS user space targets when executed without command line
option.

Signed-off-by: Alexander Graf <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: e1a4019cf13ddf2441496c2e613faba3a891cddf
      
https://github.com/qemu/qemu/commit/e1a4019cf13ddf2441496c2e613faba3a891cddf
  Author: Eric Johnson <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M target-mips/cpu.h

  Log Message:
  -----------
  target-mips: Allow DSP access to be disabled once enabled.

Clear the DSP hflags at the start of compute_hflags.  Otherwise access
is not properly disabled once enabled.

Signed-off-by: Eric Johnson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: e320d05a531ed4991a87cfe0a4c280563fb88788
      
https://github.com/qemu/qemu/commit/e320d05a531ed4991a87cfe0a4c280563fb88788
  Author: Stefan Weil <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M target-mips/op_helper.c

  Log Message:
  -----------
  target-mips: Replace macros by inline functions

The macros RESTORE_ROUNDING_MODE and RESTORE_FLUSH_MODE silently used
variable env from their callers. Using inline functions with env passed
as a function argument is more transparent.

This modification was proposed by Peter Maydell.

Cc: Peter Maydell <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Eric Johnson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


  Commit: da1a4cef9e125a866f4ef9a39b342c2913727f70
      
https://github.com/qemu/qemu/commit/da1a4cef9e125a866f4ef9a39b342c2913727f70
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-01-08 (Tue, 08 Jan 2013)

  Changed paths:
    M target-mips/dsp_helper.c
    M tests/tcg/mips/mips32-dspr2/dpa_w_ph.c
    M tests/tcg/mips/mips32-dspr2/dpax_w_ph.c
    M tests/tcg/mips/mips32-dspr2/dps_w_ph.c
    M tests/tcg/mips/mips32-dspr2/dpsx_w_ph.c

  Log Message:
  -----------
  target-mips: Fix helper and tests for dot/cross-dot product instructions

Helper function for dpa_w_ph, dpax_w_ph, dps_w_ph and dpsx_w_ph incorrectly
defines halfword vector elements as unsigned values. This results in wrong
output which is not triggered in the tests as they also follow this logic.

Signed-off-by: Petar Jovanovic <address@hidden>
Reviewed-by: Eric Johnson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>


Compare: https://github.com/qemu/qemu/compare/8e4a424b305e...da1a4cef9e12

reply via email to

[Prev in Thread] Current Thread [Next in Thread]