qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] be96bd: tcg/ppc: Fix build of tcg_qemu_tb_exe


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] be96bd: tcg/ppc: Fix build of tcg_qemu_tb_exec()
Date: Sun, 17 Feb 2013 08:00:10 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: be96bd3fbffde908a392c830c856063e122791c1
      
https://github.com/qemu/qemu/commit/be96bd3fbffde908a392c830c856063e122791c1
  Author: Andreas Färber <address@hidden>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M tcg/ppc/tcg-target.h

  Log Message:
  -----------
  tcg/ppc: Fix build of tcg_qemu_tb_exec()

Commit 0b0d3320db74cde233ee7855ad32a9c121d20eb4 (TCG: Final globals
clean-up) moved code_gen_prologue but forgot to update ppc code.
This broke the build on 32-bit ppc. ppc64 is unaffected.

Cc: Evgeny Voevodin <address@hidden>
Cc: Blue Swirl <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: f540166b7dfdf4ec2057ac322d8cbfd0691e1d65
      
https://github.com/qemu/qemu/commit/f540166b7dfdf4ec2057ac322d8cbfd0691e1d65
  Author: Richard Henderson <address@hidden>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M configure
    M include/qemu/host-utils.h
    M util/host-utils.c

  Log Message:
  -----------
  host-utils: Use __int128_t for mul[us]64

Replace some x86_64 specific inline assembly with something that
all 64-bit hosts ought to optimize well.  At worst this becomes
a call to the gcc __multi3 routine, which is no worse than our
implementation in util/host-utils.c.

With gcc 4.7, we get identical code generation for x86_64.  We
now get native multiplication on ia64 and s390x hosts.  With minor
improvements to gcc we can get it for ppc64 as well.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2
      
https://github.com/qemu/qemu/commit/ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2
  Author: Richard Henderson <address@hidden>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M util/host-utils.c

  Log Message:
  -----------
  host-utils: Improve mulu64 and muls64

The new formulation makes better use of add-with-carry type insns
that the host may have.  Use gcc's sign adjustment trick to avoid
having to perform a 128-bit negation.

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


  Commit: f4c0f986c061f34fd5b020c30e2aa8c37e17193b
      
https://github.com/qemu/qemu/commit/f4c0f986c061f34fd5b020c30e2aa8c37e17193b
  Author: Richard Henderson <address@hidden>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M tests/Makefile
    A tests/test-mul64.c

  Log Message:
  -----------
  tests: Add unit tests for mulu64 and muls64

Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>


Compare: https://github.com/qemu/qemu/compare/05499f4b9fd4...f4c0f986c061

reply via email to

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