qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0a19f1: tcg/tci: Drop L and S constraints


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 0a19f1: tcg/tci: Drop L and S constraints
Date: Wed, 03 Feb 2021 11:41:33 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 0a19f167de7560e8204953425408b21d82974a8c
      
https://github.com/qemu/qemu/commit/0a19f167de7560e8204953425408b21d82974a8c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/tci/tcg-target.c.inc

  Log Message:
  -----------
  tcg/tci: Drop L and S constraints

These are identical to the 'r' constraint.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 2366c858f954959dbae039d5d0a515645bedf5eb
      
https://github.com/qemu/qemu/commit/2366c858f954959dbae039d5d0a515645bedf5eb
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/tci/tcg-target.c.inc

  Log Message:
  -----------
  tcg/tci: Remove TCG_TARGET_HAS_* ifdefs

The opcodes always exist, regardless of whether or not they
are enabled.  Remove the unnecessary ifdefs.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c7c778b5b9b7865a3e7200805ac561c5d334b8d0
      
https://github.com/qemu/qemu/commit/c7c778b5b9b7865a3e7200805ac561c5d334b8d0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/i386/tcg-target.c.inc

  Log Message:
  -----------
  tcg/i386: Move constraint type check to tcg_target_const_match

Rather than check the type when filling in the constraint,
check it when matching the constant.  This removes the only
use of the type argument to target_parse_constraint.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: df903b94b3c6fa515da7cf2103513ade06ab0d0f
      
https://github.com/qemu/qemu/commit/df903b94b3c6fa515da7cf2103513ade06ab0d0f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/i386/tcg-target.c.inc

  Log Message:
  -----------
  tcg/i386: Tidy register constraint definitions

Create symbolic constants for all low-byte-addressable
and second-byte-addressable registers.  Create a symbol
for the registers that need reserving for softmmu.

There is no functional change for 's', as this letter is
only used for i386.  The BYTEL name is correct for the
action we wish from the constraint.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 358b492392ad91d45a9714f7cd28fc1d83ffd8be
      
https://github.com/qemu/qemu/commit/358b492392ad91d45a9714f7cd28fc1d83ffd8be
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/i386/tcg-target-con-str.h
    M tcg/i386/tcg-target.c.inc
    M tcg/i386/tcg-target.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg/i386: Split out target constraints to tcg-target-con-str.h

This eliminates the target-specific function target_parse_constraint
and folds it into the single caller, process_op_defs.  Since this is
done directly into the switch statement, duplicates are compilation
errors rather than silently ignored at runtime.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 3440d583d64dedf82e2774b266bcae46253d6b06
      
https://github.com/qemu/qemu/commit/3440d583d64dedf82e2774b266bcae46253d6b06
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/arm/tcg-target-con-str.h
    M tcg/arm/tcg-target.c.inc
    M tcg/arm/tcg-target.h

  Log Message:
  -----------
  tcg/arm: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: abc730e18e34ca6282f412f1a20410b76f2d74b7
      
https://github.com/qemu/qemu/commit/abc730e18e34ca6282f412f1a20410b76f2d74b7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/aarch64/tcg-target-con-str.h
    M tcg/aarch64/tcg-target.c.inc
    M tcg/aarch64/tcg-target.h

  Log Message:
  -----------
  tcg/aarch64: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 85d251d7ec47382171a292e741385bd25505d182
      
https://github.com/qemu/qemu/commit/85d251d7ec47382171a292e741385bd25505d182
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/ppc/tcg-target-con-str.h
    M tcg/ppc/tcg-target.c.inc
    M tcg/ppc/tcg-target.h

  Log Message:
  -----------
  tcg/ppc: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7d1820a755b7732382a55eaf02749fbab9ea2d0f
      
https://github.com/qemu/qemu/commit/7d1820a755b7732382a55eaf02749fbab9ea2d0f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/tci/tcg-target-con-str.h
    M tcg/tci/tcg-target.c.inc
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  tcg/tci: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 51800e434679a88bff8b48f62e55ab14642d223e
      
https://github.com/qemu/qemu/commit/51800e434679a88bff8b48f62e55ab14642d223e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/mips/tcg-target-con-str.h
    M tcg/mips/tcg-target.c.inc
    M tcg/mips/tcg-target.h

  Log Message:
  -----------
  tcg/mips: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: fc63a4c5c8c32b887e9c0cedb68efe94e701815d
      
https://github.com/qemu/qemu/commit/fc63a4c5c8c32b887e9c0cedb68efe94e701815d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/riscv/tcg-target-con-str.h
    M tcg/riscv/tcg-target.c.inc
    M tcg/riscv/tcg-target.h

  Log Message:
  -----------
  tcg/riscv: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c947deb13ea1a5c7b127177a3b5cc7d2f8607ab2
      
https://github.com/qemu/qemu/commit/c947deb13ea1a5c7b127177a3b5cc7d2f8607ab2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/s390/tcg-target-con-str.h
    M tcg/s390/tcg-target.c.inc
    M tcg/s390/tcg-target.h

  Log Message:
  -----------
  tcg/s390: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 77f268e80b40f005e984b0818d9e01862e72f393
      
https://github.com/qemu/qemu/commit/77f268e80b40f005e984b0818d9e01862e72f393
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/sparc/tcg-target-con-str.h
    M tcg/sparc/tcg-target.c.inc
    M tcg/sparc/tcg-target.h

  Log Message:
  -----------
  tcg/sparc: Split out target constraints to tcg-target-con-str.h

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8c07f3262ebb3bb01041a812354399dfa96a4c1f
      
https://github.com/qemu/qemu/commit/8c07f3262ebb3bb01041a812354399dfa96a4c1f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.h
    M tcg/i386/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    M tcg/riscv/tcg-target.h
    M tcg/s390/tcg-target.h
    M tcg/sparc/tcg-target.h
    M tcg/tcg.c
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  tcg: Remove TCG_TARGET_CON_STR_H

All backends have now been converted to tcg-target-con-str.h,
so we can remove the fallback code.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 4c22e840880e935ea07f1c4352bd8c54febff4df
      
https://github.com/qemu/qemu/commit/4c22e840880e935ea07f1c4352bd8c54febff4df
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/i386/tcg-target-con-set.h
    M tcg/i386/tcg-target.c.inc
    M tcg/i386/tcg-target.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg/i386: Split out constraint sets to tcg-target-con-set.h

This exports the constraint sets from tcg_target_op_def to
a place we will be able to manipulate more in future.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 39e7522b4ac86636e09ccb43487b14fe690f1658
      
https://github.com/qemu/qemu/commit/39e7522b4ac86636e09ccb43487b14fe690f1658
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/aarch64/tcg-target-con-set.h
    M tcg/aarch64/tcg-target.c.inc
    M tcg/aarch64/tcg-target.h

  Log Message:
  -----------
  tcg/aarch64: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7166eebb9bbe05fd956bd46b13643e1ae04c00ec
      
https://github.com/qemu/qemu/commit/7166eebb9bbe05fd956bd46b13643e1ae04c00ec
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/arm/tcg-target-con-set.h
    M tcg/arm/tcg-target.c.inc
    M tcg/arm/tcg-target.h

  Log Message:
  -----------
  tcg/arm: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0263330bce31a827295157627b32e9502cce693c
      
https://github.com/qemu/qemu/commit/0263330bce31a827295157627b32e9502cce693c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/mips/tcg-target-con-set.h
    M tcg/mips/tcg-target.c.inc
    M tcg/mips/tcg-target.h

  Log Message:
  -----------
  tcg/mips: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 6893016b90b85c9e657b5c5c40a24e3926b89389
      
https://github.com/qemu/qemu/commit/6893016b90b85c9e657b5c5c40a24e3926b89389
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/ppc/tcg-target-con-set.h
    M tcg/ppc/tcg-target.c.inc
    M tcg/ppc/tcg-target.h

  Log Message:
  -----------
  tcg/ppc: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 665be288ace26027bf941d6a2eafa0ecb92009e0
      
https://github.com/qemu/qemu/commit/665be288ace26027bf941d6a2eafa0ecb92009e0
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/riscv/tcg-target-con-set.h
    M tcg/riscv/tcg-target.c.inc
    M tcg/riscv/tcg-target.h

  Log Message:
  -----------
  tcg/riscv: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: d1c36a9032d2208b2cf61d472d6b4f3b47498299
      
https://github.com/qemu/qemu/commit/d1c36a9032d2208b2cf61d472d6b4f3b47498299
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/s390/tcg-target-con-set.h
    M tcg/s390/tcg-target.c.inc
    M tcg/s390/tcg-target.h

  Log Message:
  -----------
  tcg/s390: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0d11dc7c97e609e641892ab2f22f30f3d292f7b2
      
https://github.com/qemu/qemu/commit/0d11dc7c97e609e641892ab2f22f30f3d292f7b2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/sparc/tcg-target-con-set.h
    M tcg/sparc/tcg-target.c.inc
    M tcg/sparc/tcg-target.h

  Log Message:
  -----------
  tcg/sparc: Split out constraint sets to tcg-target-con-set.h

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 63b29fda4e3506e445d2ee8bb8f1b9244aee5e66
      
https://github.com/qemu/qemu/commit/63b29fda4e3506e445d2ee8bb8f1b9244aee5e66
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    A tcg/tci/tcg-target-con-set.h
    M tcg/tci/tcg-target.c.inc
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  tcg/tci: Split out constraint sets to tcg-target-con-set.h

This requires finishing the conversion to tcg_target_op_def.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0c823e596877a30fd6c17a1ae9f98218a53055ea
      
https://github.com/qemu/qemu/commit/0c823e596877a30fd6c17a1ae9f98218a53055ea
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.h
    M tcg/i386/tcg-target.h
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    M tcg/riscv/tcg-target.h
    M tcg/s390/tcg-target.h
    M tcg/sparc/tcg-target.h
    M tcg/tcg.c
    M tcg/tci/tcg-target.h

  Log Message:
  -----------
  tcg: Remove TCG_TARGET_CON_SET_H

All backends have now been converted to tcg-target-con-set.h,
so we can remove the fallback code.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: db754f8ccaf2f073c9aed46a4389e9c0c2080399
      
https://github.com/qemu/qemu/commit/db754f8ccaf2f073c9aed46a4389e9c0c2080399
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    A tcg/aarch64/tcg-target-con-set.h
    A tcg/aarch64/tcg-target-con-str.h
    M tcg/aarch64/tcg-target.c.inc
    A tcg/arm/tcg-target-con-set.h
    A tcg/arm/tcg-target-con-str.h
    M tcg/arm/tcg-target.c.inc
    A tcg/i386/tcg-target-con-set.h
    A tcg/i386/tcg-target-con-str.h
    M tcg/i386/tcg-target.c.inc
    A tcg/mips/tcg-target-con-set.h
    A tcg/mips/tcg-target-con-str.h
    M tcg/mips/tcg-target.c.inc
    A tcg/ppc/tcg-target-con-set.h
    A tcg/ppc/tcg-target-con-str.h
    M tcg/ppc/tcg-target.c.inc
    A tcg/riscv/tcg-target-con-set.h
    A tcg/riscv/tcg-target-con-str.h
    M tcg/riscv/tcg-target.c.inc
    A tcg/s390/tcg-target-con-set.h
    A tcg/s390/tcg-target-con-str.h
    M tcg/s390/tcg-target.c.inc
    A tcg/sparc/tcg-target-con-set.h
    A tcg/sparc/tcg-target-con-str.h
    M tcg/sparc/tcg-target.c.inc
    M tcg/sparc/tcg-target.h
    M tcg/tcg.c
    A tcg/tci/tcg-target-con-set.h
    A tcg/tci/tcg-target-con-str.h
    M tcg/tci/tcg-target.c.inc

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210202' into 
staging

TCG backend constraints cleanup

# gpg: Signature made Tue 02 Feb 2021 22:59:19 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-tcg-20210202: (24 commits)
  tcg: Remove TCG_TARGET_CON_SET_H
  tcg/tci: Split out constraint sets to tcg-target-con-set.h
  tcg/sparc: Split out constraint sets to tcg-target-con-set.h
  tcg/s390: Split out constraint sets to tcg-target-con-set.h
  tcg/riscv: Split out constraint sets to tcg-target-con-set.h
  tcg/ppc: Split out constraint sets to tcg-target-con-set.h
  tcg/mips: Split out constraint sets to tcg-target-con-set.h
  tcg/arm: Split out constraint sets to tcg-target-con-set.h
  tcg/aarch64: Split out constraint sets to tcg-target-con-set.h
  tcg/i386: Split out constraint sets to tcg-target-con-set.h
  tcg: Remove TCG_TARGET_CON_STR_H
  tcg/sparc: Split out target constraints to tcg-target-con-str.h
  tcg/s390: Split out target constraints to tcg-target-con-str.h
  tcg/riscv: Split out target constraints to tcg-target-con-str.h
  tcg/mips: Split out target constraints to tcg-target-con-str.h
  tcg/tci: Split out target constraints to tcg-target-con-str.h
  tcg/ppc: Split out target constraints to tcg-target-con-str.h
  tcg/aarch64: Split out target constraints to tcg-target-con-str.h
  tcg/arm: Split out target constraints to tcg-target-con-str.h
  tcg/i386: Split out target constraints to tcg-target-con-str.h
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/1ed9228f63ea...db754f8ccaf2



reply via email to

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