qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 36f48d: PPC: Depend behavior of cmp instructi


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 36f48d: PPC: Depend behavior of cmp instructions only on i...
Date: Wed, 08 May 2013 14:00:10 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 36f48d9c78c438170aa7259bdde67086c9b7e795
      
https://github.com/qemu/qemu/commit/36f48d9c78c438170aa7259bdde67086c9b7e795
  Author: Alexander Graf <address@hidden>
  Date:   2013-05-08 (Wed, 08 May 2013)

  Changed paths:
    M target-ppc/translate.c

  Log Message:
  -----------
  PPC: Depend behavior of cmp instructions only on instruction encoding

When running an L=1 cmp instruction on a 64bit PPC CPU with SF off, it
still behaves identical to what it does when SF is on. Remove the implicit
difference in the code.

Also, on most 32bit CPUs we should always treat the compare as 32bit
compare, as the CPU will ignore the L bit. This is not true for e500mc,
but that's up for a different patch.

Reported-by: Torbjorn Granlund <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: 554ecc5774badd181458fe3d6a1624c2ede9f04e
      
https://github.com/qemu/qemu/commit/554ecc5774badd181458fe3d6a1624c2ede9f04e
  Author: Alexander Graf <address@hidden>
  Date:   2013-05-08 (Wed, 08 May 2013)

  Changed paths:
    M target-ppc/translate.c

  Log Message:
  -----------
  PPC: Fix rldcl

The implementation for rldcl tried to always fetch its
parameters from the opcode, even though the opcode was
already passed in in decoded and different forms.

Use the parameters instead, fixing rldcl.

Reported-by: Torbjorn Granlund <address@hidden>
Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Alexander Graf <address@hidden>


  Commit: d551d220c9574b00a318297b8654344e13e0efde
      
https://github.com/qemu/qemu/commit/d551d220c9574b00a318297b8654344e13e0efde
  Author: Aurelien Jarno <address@hidden>
  Date:   2013-05-08 (Wed, 08 May 2013)

  Changed paths:
    M target-ppc/translate.c

  Log Message:
  -----------
  Merge branch 'ppc-for-upstream' of git://github.com/agraf/qemu

* 'ppc-for-upstream' of git://github.com/agraf/qemu:
  PPC: Depend behavior of cmp instructions only on instruction encoding


Compare: https://github.com/qemu/qemu/compare/c0f5f9ce86dd...d551d220c957

reply via email to

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