1. 20 10月, 2012 1 次提交
  2. 22 9月, 2012 1 次提交
  3. 16 9月, 2012 1 次提交
  4. 15 9月, 2012 1 次提交
  5. 25 6月, 2012 1 次提交
  6. 19 5月, 2012 1 次提交
  7. 01 5月, 2012 1 次提交
  8. 21 4月, 2012 1 次提交
  9. 14 4月, 2012 2 次提交
  10. 08 4月, 2012 2 次提交
  11. 07 4月, 2012 1 次提交
    • S
      w64: Fix data type of tb_next and other variables used for host addresses · 6375e09e
      Stefan Weil 提交于
      QEMU host addresses must use uintptr_t to be portable for hosts with
      an unusual size of long (w64).
      
      tb_jmp_offset is an uint16_t value, therefore the local variable offset
      in function tb_set_jmp_target was changed from unsigned long to uint16_t.
      
      The type cast to long in function tb_add_jump now also uses uintptr_t.
      For the bit operation used here, the signedness of the type cast does
      not matter.
      
      Some remaining unsigned long values are either only used for ARM assembler
      code or will be fixed in a later patch for PPC.
      
      v2:
      Fix signature of tb_find_pc in exec.c, too (hint from Blue Swirl, thanks).
      There remain lots of other long / unsigned long in exec.c which must be
      replaced by uintptr_t. This will be done in a separate patch. Here
      only one of these type casts is fixed.
      
      v3:
      Also fix signature of page_unprotect.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      6375e09e
  12. 18 3月, 2012 1 次提交
  13. 15 3月, 2012 1 次提交
  14. 09 3月, 2012 2 次提交
  15. 08 3月, 2012 1 次提交
  16. 04 1月, 2012 4 次提交
  17. 01 11月, 2011 1 次提交
    • S
      tcg: Add bytecode generator for tcg interpreter · 7316329a
      Stefan Weil 提交于
      Unlike other tcg target code generators, this one does not generate
      machine code for some cpu. It generates machine independent bytecode
      which is interpreted later.
      
      This allows running QEMU on any host.
      
      Interpreted bytecode is slower than direct execution of generated
      machine code.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      7316329a
  18. 30 10月, 2011 1 次提交
  19. 22 10月, 2011 1 次提交
  20. 01 10月, 2011 2 次提交
  21. 21 7月, 2011 1 次提交
  22. 13 7月, 2011 1 次提交
    • P
      exec-all.h: Make MAX_OP_PER_INSTR large enough for target-arm's uses · 5b620fb6
      Peter Maydell 提交于
      The target-arm frontend's worst-case TCG ops per instr is 194 (and in
      general many of the "load multiple registers" ARM instructions generate
      more than 100 TCG ops). Raise MAX_OP_PER_INSTR accordingly to avoid
      possible buffer overruns.
      
      Since it doesn't make any sense for the "64 bit guest on 32 bit host"
      case to have a smaller limit than the normal case, we collapse the
      two cases back into each other again.
      
      (This increase costs us about 14K in extra static buffer space and
      21K of extra margin at the end of a 32MB codegen buffer.)
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5b620fb6
  23. 27 6月, 2011 2 次提交
  24. 01 6月, 2011 1 次提交
  25. 22 5月, 2011 1 次提交
  26. 20 5月, 2011 1 次提交
  27. 20 4月, 2011 2 次提交
  28. 11 2月, 2011 1 次提交
  29. 24 1月, 2011 1 次提交
  30. 01 1月, 2011 1 次提交
    • A
      TCG: Improve tb_phys_hash_func() · f96a3834
      Aurelien Jarno 提交于
      Most of emulated CPU have instructions aligned on 16 or 32 bits, while
      on others GCC tries to align the target jump location. This means that
      1/2 or 3/4 of tb_phys_hash entries are never used.
      
      Update the hash function tb_phys_hash_func() to ignore the two lowest
      bits of the address. This brings a 6% speed-up when booting a MIPS
      image.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      f96a3834
  31. 22 12月, 2010 1 次提交
    • A
      tcg-arm: fix __clear_cache() warning · 4a1e19ae
      Aurelien Jarno 提交于
      Use __builtin___clear_cache() instead of __clear_cache() to avoid having
      to define the function as extern. Fix the following warning:
      
      | In file included from qemu/cpus.c:34:
      | qemu/exec-all.h: In function 'tb_set_jmp_target1':
      | qemu/exec-all.h:208: error: nested extern declaration of '__clear_cache'
      | make[1]: *** [cpus.o] Error 1
      | make: *** [subdir-i386-softmmu] Error 2
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      4a1e19ae