[Top][All Lists]

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

[Qemu-commits] [qemu/qemu] 21c046: target-sh4: move features flag after

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 21c046: target-sh4: move features flag after CPU_COMMON
Date: Mon, 09 Dec 2013 08:00:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 21c046118e740704d0ba81f6281dc95905bc30a8
  Author: Bobby Bingham <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M target-sh4/cpu.h

  Log Message:
  target-sh4: move features flag after CPU_COMMON

Everything before CPU_COMMON in the structure is cleared as part of a
CPU reset. This included the features flag, which indicates whether SH4A
instructions are supported or not. As a result, a CPU reset downgraded
the CPU from an SH4A to an SH4.

Signed-off-by: Bobby Bingham <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

  Commit: 4d66261f71f2efa31e1052e4041c5ee505572fe5
  Author: Petar Jovanovic <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M target-mips/translate.c

  Log Message:
  target-mips: fix 64-bit FPU config for user-mode emulation

FR bit should be initialized to 1 for MIPS64, under condition that this
bit is writable and that CPU has an FPU unit. It should be initialized to
zero for MIPS32.
This fixes different MIPS32 issues with FPU instructions whose behaviour
defaulted to 64-bit FPU mode.

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

  Commit: 8f84271da83c0e9f92aa7c1c2d0d3875bf0a5cb8
  Author: Stefan Weil <address@hidden>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M target-mips/dsp_helper.c

  Log Message:
  target-mips: Use macro ARRAY_SIZE where possible

This improves readability and simplifies the code.

Cc: Aurelien Jarno <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>

Compare: https://github.com/qemu/qemu/compare/a1d22a367d57...8f84271da83c

reply via email to

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