qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9e564a: tcg: Remove TODO file


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 9e564a: tcg: Remove TODO file
Date: Fri, 22 Feb 2019 05:52:51 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9e564a1dde5abc7ae4cebc115142f685d98938d7
      
https://github.com/qemu/qemu/commit/9e564a1dde5abc7ae4cebc115142f685d98938d7
  Author: Richard Henderson <address@hidden>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    R tcg/TODO

  Log Message:
  -----------
  tcg: Remove TODO file

The last update to this file was 9 years ago.  In the meantime,
4 of the 6 ideas have actually been completed.  The lat two do
not actually make sense anymore.

Suggested-by: Thomas Huth <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8c6edfdd90522caa4fc429144d393aba5b99f584
      
https://github.com/qemu/qemu/commit/8c6edfdd90522caa4fc429144d393aba5b99f584
  Author: David Hildenbrand <address@hidden>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M include/exec/helper-head.h

  Log Message:
  -----------
  include/exec/helper-head.h: support "const void *" in helper calls

Especially when dealing with out-of-line gvec helpers, it is often
helpful to specify some vector pointers as constant. E.g. when
we have two inputs and one output, marking the two inputs as consts
pointers helps to avoid bugs.

Const pointers can be specified via "cptr", however behave in TCG just
like ordinary pointers. We can specify helpers like:

DEF_HELPER_FLAGS_4(gvec_vbperm, TCG_CALL_NO_RWG, void, ptr, cptr, cptr, i32)

void HELPER(gvec_vbperm)(void *v1, const void *v2, const void *v3,
                         uint32_t desc)

And make sure that here, only v1 will be written (as long as const is
not casted away, of course).

Signed-off-by: David Hildenbrand <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7817ea16c1bb91ba3849e704d5f3e3c5775087bf
      
https://github.com/qemu/qemu/commit/7817ea16c1bb91ba3849e704d5f3e3c5775087bf
  Author: Peter Maydell <address@hidden>
  Date:   2019-02-22 (Fri, 22 Feb 2019)

  Changed paths:
    M include/exec/helper-head.h
    R tcg/TODO

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

Allow const void * as argument to helpers.
Remove obsolete TODO file.

# gpg: Signature made Thu 21 Feb 2019 18:59:11 GMT
# gpg:                using RSA key 64DF38E8AF7E215F
# 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-tcg-20190221:
  include/exec/helper-head.h: support "const void *" in helper calls
  tcg: Remove TODO file

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


Compare: https://github.com/qemu/qemu/compare/98e139bcec75...7817ea16c1bb



reply via email to

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