qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 917147: tcg-ppc: Use uintptr_t in ppc_tb_set_


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 917147: tcg-ppc: Use uintptr_t in ppc_tb_set_jmp_target
Date: Tue, 24 Jun 2014 03:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9171478c954cfce97a0d3c827e82da723a4a091c
      
https://github.com/qemu/qemu/commit/9171478c954cfce97a0d3c827e82da723a4a091c
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M include/exec/exec-all.h
    M tcg/ppc/tcg-target.c

  Log Message:
  -----------
  tcg-ppc: Use uintptr_t in ppc_tb_set_jmp_target

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: de3d636d83016a0a3b32e7f73f29dfd7b5e8a549
      
https://github.com/qemu/qemu/commit/de3d636d83016a0a3b32e7f73f29dfd7b5e8a549
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Avoid some hard-codings of TCG_TYPE_I64

Using more appropriate _PTR or _REG where possible.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d604f1a90da5c7fd8fbd9b84b3a86d6a7e245a26
      
https://github.com/qemu/qemu/commit/d604f1a90da5c7fd8fbd9b84b3a86d6a7e245a26
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Move functions around

Code movement only.  This will allow us to make use of the
other tcg_out_* functions in tidying their implementations.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: de7761a39d341ab322f0c2f47ec3ec59a4a6f2a2
      
https://github.com/qemu/qemu/commit/de7761a39d341ab322f0c2f47ec3ec59a4a6f2a2
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Relax register restrictions in tcg_out_mem_long

In order to be able to use tcg_out_ld/st sensibly with scratch
registers, assert only when we'd incorrectly clobber a scratch.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4c3831a088de45ca431abe1f17511cf6589f207c
      
https://github.com/qemu/qemu/commit/4c3831a088de45ca431abe1f17511cf6589f207c
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Use tcg_out_{ld,st,cmp} internally

Rather than using tcg_out32 and opcodes directly.  This allows us
to remove LD_ADDR and CMP_L macros.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3bf4a1ed61db1336c458a4263a60627e24106cc9
      
https://github.com/qemu/qemu/commit/3bf4a1ed61db1336c458a4263a60627e24106cc9
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

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

  Log Message:
  -----------
  tcg-ppc64: Make TCG_AREG0 and TCG_REG_CALL_STACK enum constants

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a921fddcc1c9aae30c89e408f1e31e831a0a4389
      
https://github.com/qemu/qemu/commit/a921fddcc1c9aae30c89e408f1e31e831a0a4389
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc64: Move call macros out of tcg-target.h

These values are private to tcg.c; we don't need to expose
this nonsense to the translators.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5456788db7982938db6600d6308fd2f449b40d5c
      
https://github.com/qemu/qemu/commit/5456788db7982938db6600d6308fd2f449b40d5c
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Fix TCG_TARGET_CALL_STACK_OFFSET

The calling convention reserves space for the 8 register parameters on
the stack, so using only 6*8=48 as the offset was wrong.  We never saw
this bug because we don't have any helpers with more than 5 parameters.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 802ca56e1d63a513733bf43f945ed654bf7d3eea
      
https://github.com/qemu/qemu/commit/802ca56e1d63a513733bf43f945ed654bf7d3eea
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Better parameterize the stack frame

In preparation for supporting other ABIs.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: eaf7d1cfe0eae800f35234a8a96367bfd8e54d61
      
https://github.com/qemu/qemu/commit/eaf7d1cfe0eae800f35234a8a96367bfd8e54d61
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Use the correct test in tcg_out_call

The correct test uses the _CALL_AIX macro, not a host-specific macro.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a2a98f807b0cb8c9688df449ec6a3a98f3b0b9e9
      
https://github.com/qemu/qemu/commit/a2a98f807b0cb8c9688df449ec6a3a98f3b0b9e9
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Support the ppc64 elfv2 ABI

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 77e58d0d601a2f56e17bd7530c697c55895c579d
      
https://github.com/qemu/qemu/commit/77e58d0d601a2f56e17bd7530c697c55895c579d
  Author: Ulrich Weigand <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Adjust tcg_out_call for ELFv2

The new ELFv2 ABI, used by default on powerpc64le-linux hosts,
introduced some changes that are incompatible with code currently
generated by the ppc64 TGC target.  In particular, we no longer
use function descriptors.

This patch adds support for the ELFv2 ABI in the ppc64 TGC
function call and function prologue sequences.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Ulrich Weigand <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ffcfbecec39d1459a5f09a5f39b5c6c92c6fd753
      
https://github.com/qemu/qemu/commit/ffcfbecec39d1459a5f09a5f39b5c6c92c6fd753
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Merge 32-bit ABIs into the prologue / frame code

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b31284cecf36c75179dac828344fcce2b21204c4
      
https://github.com/qemu/qemu/commit/b31284cecf36c75179dac828344fcce2b21204c4
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Fix sub2 implementation

All sorts of confusion on argument ordering.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 796f1a689d935e74c7f8a1967ee2cf432e556800
      
https://github.com/qemu/qemu/commit/796f1a689d935e74c7f8a1967ee2cf432e556800
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc64: Begin merging ppc32 with ppc64

Just enough to compile, assuming you edit config-host.mak manually.
It will still abort at runtime, due to missing brcond2, setcond2, mulu2.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: abcf61c48e52cd101cc7c5e9713fbbb75d0dc4e1
      
https://github.com/qemu/qemu/commit/abcf61c48e52cd101cc7c5e9713fbbb75d0dc4e1
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc64: Merge ppc32 brcond2, setcond2, muluh

Now passes tcg_add_target_add_op_defs assertions, but
not complete enough to function.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7f25c469c74ce7f1c2f7c9b4e81ced53ac0a1887
      
https://github.com/qemu/qemu/commit/7f25c469c74ce7f1c2f7c9b4e81ced53ac0a1887
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Merge ppc32 qemu_ld/st

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: dfca177874efe0a66ea435bf167bde33b18f59f7
      
https://github.com/qemu/qemu/commit/dfca177874efe0a66ea435bf167bde33b18f59f7
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Merge ppc32 register usage

Good enough to run some instructions before things go awry.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8fa391a011a421ed8bf63385ae8e051df453c2e3
      
https://github.com/qemu/qemu/commit/8fa391a011a421ed8bf63385ae8e051df453c2e3
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c
    M tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc64: Support mulsh_i32

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a757e1eef08deeb1dd59bb0ca499d24458c2e5d5
      
https://github.com/qemu/qemu/commit/a757e1eef08deeb1dd59bb0ca499d24458c2e5d5
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tcg/ppc64/tcg-target.c

  Log Message:
  -----------
  tcg-ppc64: Merge ppc32 shifts

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b38daef9d4a174b874284ddac6d82f246a556363
      
https://github.com/qemu/qemu/commit/b38daef9d4a174b874284ddac6d82f246a556363
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M configure
    R tcg/ppc/tcg-target.c
    R tcg/ppc/tcg-target.h

  Log Message:
  -----------
  tcg-ppc: Remove the backend

Vectoring the 32-bit build to the ppc64 directory.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 40d964b563d144cae459c39fd6e3a6cd7b34127a
      
https://github.com/qemu/qemu/commit/40d964b563d144cae459c39fd6e3a6cd7b34127a
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M configure
    A tcg/ppc/tcg-target.c
    A tcg/ppc/tcg-target.h
    R tcg/ppc64/tcg-target.c
    R tcg/ppc64/tcg-target.h

  Log Message:
  -----------
  tcg-ppc: Rename the tcg/ppc64 backend

The other tcg backends that support 32- and 64-bit modes
use the 32-bit name for the port.  Follow suit.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 2b45c3f5008bf760e628126f0344c1effbee0714
      
https://github.com/qemu/qemu/commit/2b45c3f5008bf760e628126f0344c1effbee0714
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M include/qemu/osdep.h
    M linux-user/main.c
    M util/getauxval.c
    M vl.c

  Log Message:
  -----------
  qemu/osdep: Remove the need for qemu_init_auxval

Instead of getting backup auxv data from the env pointer given to main,
read it from /proc/self/auxv.  We can do this at any time, so we're not
tied to any ordering wrt a call to qemu_init_auxval from main.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 224f9fd4191feaf104965d8feb814f7303923a47
      
https://github.com/qemu/qemu/commit/224f9fd4191feaf104965d8feb814f7303923a47
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M exec.c
    R include/qemu/cache-utils.h
    M linux-user/main.c
    M tcg/ppc/tcg-target.c
    M tcg/ppc/tcg-target.h
    M tcg/tcg.c
    M util/Makefile.objs
    R util/cache-utils.c
    M vl.c

  Log Message:
  -----------
  tcg-ppc: Merge cache-utils into the backend

As a "utility", it only supported ppc, and in a way that other
tcg backends provided directly in tcg-target.h.  Removing this
disparity is easier now that the two ppc backends are merged.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a84ac4cbbb4f4705305189ef007a8432b0b9f718
      
https://github.com/qemu/qemu/commit/a84ac4cbbb4f4705305189ef007a8432b0b9f718
  Author: Richard Henderson <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

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

  Log Message:
  -----------
  tcg-ppc: Use the return address as a base pointer

This can significantly reduce code size for generation of (some)
64-bit constants.  With the side effect that we know for a fact
that exit_tb can use the register to good effect.

Tested-by: Tom Musta <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7ba48975d342ef4d9251097f24be0db328f36f7d
      
https://github.com/qemu/qemu/commit/7ba48975d342ef4d9251097f24be0db328f36f7d
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M configure
    M exec.c
    M include/exec/exec-all.h
    R include/qemu/cache-utils.h
    M include/qemu/osdep.h
    M linux-user/main.c
    M tcg/ppc/tcg-target.c
    M tcg/ppc/tcg-target.h
    R tcg/ppc64/tcg-target.c
    R tcg/ppc64/tcg-target.h
    M tcg/tcg.c
    M util/Makefile.objs
    R util/cache-utils.c
    M util/getauxval.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tcg-ppc-merge-1' into staging

* remotes/rth/tcg-ppc-merge-1: (25 commits)
  tcg-ppc: Use the return address as a base pointer
  tcg-ppc: Merge cache-utils into the backend
  qemu/osdep: Remove the need for qemu_init_auxval
  tcg-ppc: Rename the tcg/ppc64 backend
  tcg-ppc: Remove the backend
  tcg-ppc64: Merge ppc32 shifts
  tcg-ppc64: Support mulsh_i32
  tcg-ppc64: Merge ppc32 register usage
  tcg-ppc64: Merge ppc32 qemu_ld/st
  tcg-ppc64: Merge ppc32 brcond2, setcond2, muluh
  tcg-ppc64: Begin merging ppc32 with ppc64
  tcg-ppc64: Fix sub2 implementation
  tcg-ppc64: Merge 32-bit ABIs into the prologue / frame code
  tcg-ppc64: Adjust tcg_out_call for ELFv2
  tcg-ppc64: Support the ppc64 elfv2 ABI
  tcg-ppc64: Use the correct test in tcg_out_call
  tcg-ppc64: Better parameterize the stack frame
  tcg-ppc64: Fix TCG_TARGET_CALL_STACK_OFFSET
  tcg-ppc64: Move call macros out of tcg-target.h
  tcg-ppc64: Make TCG_AREG0 and TCG_REG_CALL_STACK enum constants
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/9f862687eaf7...7ba48975d342

reply via email to

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