1. 02 10月, 2013 2 次提交
  2. 03 9月, 2013 3 次提交
  3. 09 7月, 2013 6 次提交
  4. 05 6月, 2013 1 次提交
  5. 03 5月, 2013 2 次提交
  6. 27 4月, 2013 19 次提交
  7. 24 2月, 2013 1 次提交
  8. 19 1月, 2013 1 次提交
    • P
      tcg/target-arm: Add missing parens to assertions · 5256a720
      Peter Maydell 提交于
      Silence a (legitimate) complaint about missing parentheses:
      
      tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_ld’:
      tcg/arm/tcg-target.c:1148:5: error: suggest parentheses around
      comparison in operand of ‘&’ [-Werror=parentheses]
      tcg/arm/tcg-target.c: In function ‘tcg_out_qemu_st’:
      tcg/arm/tcg-target.c:1357:5: error: suggest parentheses around
      comparison in operand of ‘&’ [-Werror=parentheses]
      
      which meant that we would mistakenly always assert if running
      a QEMU built with debug enabled on ARM.
      Signed-off-by: NPeter Maydell <peter.maydelL@linaro.org>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      5256a720
  9. 19 12月, 2012 1 次提交
  10. 24 11月, 2012 2 次提交
    • A
      tcg/arm: fix cross-endian qemu_st16 · 7aab08aa
      Aurelien Jarno 提交于
      The bswap16 TCG opcode assumes that the high bytes of the temp equal
      to 0 before calling it. The ARM backend implementation takes this
      assumption to slightly optimize the generated code.
      
      The same implementation is called for implementing the cross-endian
      qemu_st16 opcode, where this assumption is not true anymore. One way to
      fix that would be to zero the high bytes before calling it. Given the
      store instruction just ignore them, it is possible to provide a slightly
      more optimized version. With ARMv6+ the rev16 instruction does the work
      correctly. For lower ARM versions the patch provides a version which
      behaves correctly with non-zero high bytes, but fill them with junk.
      
      Cc: Andrzej Zaborowski <balrogg@gmail.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: qemu-stable@nongnu.org
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      7aab08aa
    • A
      tcg/arm: fix TLB access in qemu-ld/st ops · d17bd1d8
      Aurelien Jarno 提交于
      The TCG arm backend considers likely that the offset to the TLB
      entries does not exceed 12 bits for mem_index = 0. In practice this is
      not true for at least the MIPS target.
      
      The current patch fixes that by loading the bits 23-12 with a separate
      instruction, and using loads with address writeback, independently of
      the value of mem_idx. In total this allow a 24-bit offset, which is a
      lot more than needed.
      
      Cc: Andrzej Zaborowski <balrogg@gmail.com>
      Cc: Peter Maydell <peter.maydell@linaro.org>
      Cc: qemu-stable@nongnu.org
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      d17bd1d8
  11. 17 10月, 2012 2 次提交