qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 94597b: decodetree: Allow !function with no i


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 94597b: decodetree: Allow !function with no input bits
Date: Tue, 20 Aug 2019 02:19:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 94597b6146f30f949f2c454f424082a2b0f55a0e
      
https://github.com/qemu/qemu/commit/94597b6146f30f949f2c454f424082a2b0f55a0e
  Author: Richard Henderson <address@hidden>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M docs/devel/decodetree.rst
    M scripts/decodetree.py
    A tests/decode/err_field6.decode
    A tests/decode/succ_function.decode

  Log Message:
  -----------
  decodetree: Allow !function with no input bits

Call this form a "parameter", returning a value extracted
from the DisasContext.

Reviewed-by: Philippe Mathieu-Daude <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: c692079597d98337b6f25deff7599afe39b2a468
      
https://github.com/qemu/qemu/commit/c692079597d98337b6f25deff7599afe39b2a468
  Author: Richard Henderson <address@hidden>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M scripts/decodetree.py

  Log Message:
  -----------
  decodetree: Suppress redundant declaration warnings

We can tell that a decodetree input file is "secondary" when it
uses an argument set marked "!extern".  This indicates that at
least one of the insn translation functions will have already
been declared by the "primary" input file, but given only the
secondary we cannot tell which.

Avoid redundant declaration warnings by suppressing them with pragmas.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Suggested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 59a3a1c0c211640e18b058a1b0444154c4eb6f99
      
https://github.com/qemu/qemu/commit/59a3a1c0c211640e18b058a1b0444154c4eb6f99
  Author: Richard Henderson <address@hidden>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M target/riscv/translate.c

  Log Message:
  -----------
  target/riscv: Remove redundant declaration pragmas

These are now generated by decodetree itself.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Acked-by: Palmer Dabbelt <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 6894576347a71cdf7a1638650ccf3378cfa2a22d
      
https://github.com/qemu/qemu/commit/6894576347a71cdf7a1638650ccf3378cfa2a22d
  Author: Peter Maydell <address@hidden>
  Date:   2019-08-19 (Mon, 19 Aug 2019)

  Changed paths:
    M docs/devel/decodetree.rst
    M scripts/decodetree.py
    M target/riscv/translate.c
    A tests/decode/err_field6.decode
    A tests/decode/succ_function.decode

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-dt-20190819' into staging

Implement parameter fields.
Push warning pragmas into the generated code.

# gpg: Signature made Mon 19 Aug 2019 16:14:41 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-dt-20190819:
  target/riscv: Remove redundant declaration pragmas
  decodetree: Suppress redundant declaration warnings
  decodetree: Allow !function with no input bits

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


Compare: https://github.com/qemu/qemu/compare/50d69ee0d823...6894576347a7



reply via email to

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