1. 26 10月, 2016 3 次提交
  2. 16 9月, 2016 2 次提交
  3. 15 9月, 2016 1 次提交
  4. 06 8月, 2016 4 次提交
  5. 17 7月, 2016 1 次提交
  6. 06 7月, 2016 1 次提交
    • S
      tcg: Improve the alignment check infrastructure · 1f00b27f
      Sergey Sorokin 提交于
      Some architectures (e.g. ARMv8) need the address which is aligned
      to a size more than the size of the memory access.
      To support such check it's enough the current costless alignment
      check implementation in QEMU, but we need to support
      an alignment size specifying.
      Signed-off-by: NSergey Sorokin <afarallax@yandex.ru>
      Message-Id: <1466705806-679898-1-git-send-email-afarallax@yandex.ru>
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      [rth: Assert in tcg_canonicalize_memop.  Leave get_alignment_bits
      available for, though unused by, user-mode.  Retain logging difference
      based on ALIGNED_ONLY.]
      1f00b27f
  7. 20 6月, 2016 1 次提交
  8. 19 5月, 2016 2 次提交
  9. 13 5月, 2016 2 次提交
    • S
      tcg: Clean up from 'next_tb' · 819af24b
      Sergey Fedorov 提交于
      The value returned from tcg_qemu_tb_exec() is the value passed to the
      corresponding tcg_gen_exit_tb() at translation time of the last TB
      attempted to execute. It is a little confusing to store it in a variable
      named 'next_tb'. In fact, it is a combination of 4-byte aligned pointer
      and additional information in its two least significant bits. Break it
      down right away into two variables named 'last_tb' and 'tb_exit' which
      are a pointer to the last TB attempted to execute and the TB exit
      reason, correspondingly. This simplifies the code and improves its
      readability.
      
      Correct a misleading documentation comment for tcg_qemu_tb_exec() and
      fix logging in cpu_tb_exec(). Also rename a misleading 'next_tb' in
      another couple of places.
      Signed-off-by: NSergey Fedorov <serge.fdrv@gmail.com>
      Signed-off-by: NSergey Fedorov <sergey.fedorov@linaro.org>
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      819af24b
    • S
      tcg: Clean up direct block chaining data fields · f309101c
      Sergey Fedorov 提交于
      Briefly describe in a comment how direct block chaining is done. It
      should help in understanding of the following data fields.
      
      Rename some fields in TranslationBlock and TCGContext structures to
      better reflect their purpose (dropping excessive 'tb_' prefix in
      TranslationBlock but keeping it in TCGContext):
         tb_next_offset  =>  jmp_reset_offset
         tb_jmp_offset   =>  jmp_insn_offset
         tb_next         =>  jmp_target_addr
         jmp_next        =>  jmp_list_next
         jmp_first       =>  jmp_list_first
      
      Avoid using a magic constant as an invalid offset which is used to
      indicate that there's no n-th jump generated.
      Signed-off-by: NSergey Fedorov <serge.fdrv@gmail.com>
      Signed-off-by: NSergey Fedorov <sergey.fedorov@linaro.org>
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      Signed-off-by: NRichard Henderson <rth@twiddle.net>
      f309101c
  10. 12 5月, 2016 1 次提交
  11. 23 3月, 2016 1 次提交
  12. 01 3月, 2016 2 次提交
    • L
      tcg: Move definition of type TCGv · 5d4e1a10
      Lluís Vilanova 提交于
      The target-dependant type TCGv must be defined in "tcg/tcg.h" before
      including the tracing helper wrappers in "tcg/tcg-op.h".
      
      It also makes more sense to define it here, where other TCG types are
      defined too.
      Signed-off-by: NLluís Vilanova <vilanova@ac.upc.edu>
      Message-id: 145641860129.30295.17554707227384022653.stgit@localhost
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      5d4e1a10
    • L
      tcg: Add type for vCPU pointers · 1bcea73e
      Lluís Vilanova 提交于
      Adds the 'TCGv_env' type for pointers to 'CPUArchState' objects. The
      tracing infrastructure later needs to differentiate between regular
      pointers and pointers to vCPUs.
      
      Also changes all targets to use the new 'TCGv_env' type instead of the
      generic 'TCGv_ptr'. As of now, the change is merely cosmetic ('TCGv_env'
      translates into 'TCGv_ptr'), but that could change in the future to
      enforce the difference.
      
      Note that a 'TCGv_env' type (for 'CPUState') is not added, since all
      helpers currently receive the architecture-specific
      pointer ('CPUArchState').
      Signed-off-by: NLluís Vilanova <vilanova@ac.upc.edu>
      Acked-by: NRichard Henderson <rth@twiddle.net>
      Message-id: 145641859552.30295.7821536833590725201.stgit@localhost
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      1bcea73e
  13. 24 2月, 2016 2 次提交
  14. 09 2月, 2016 5 次提交
  15. 07 10月, 2015 7 次提交
  16. 11 9月, 2015 1 次提交
  17. 09 9月, 2015 1 次提交
  18. 25 8月, 2015 2 次提交
  19. 26 6月, 2015 1 次提交