Skip to content
Snippets Groups Projects
  1. Jul 19, 2017
    • Philippe Mathieu-Daudé's avatar
      tcg/tci: enable bswap16_i64 · 797ed66d
      Philippe Mathieu-Daudé authored
      
      Altough correctly implemented, bswap16_i64() never got tested/executed so the
      safety TODO() statement was never removed.
      
      Since it got now tested the TODO() can be removed.
      
      while running Alex Bennée's image aarch64-linux-3.15rc2-buildroot.img:
      
      Trace 0x7fa1904b0890 [0: ffffffc00036cd04]
      ----------------
      IN:
      0xffffffc00036cd24:  5ac00694      rev16 w20, w20
      
      OP:
       ---- ffffffc00036cd24 0000000000000000 0000000000000000
       ext32u_i64 tmp3,x20
       ext16u_i64 tmp2,tmp3
       bswap16_i64 x20,tmp2
       movi_i64 tmp4,$0x10
       shr_i64 tmp2,tmp3,tmp4
       ext16u_i64 tmp2,tmp2
       bswap16_i64 tmp2,tmp2
       deposit_i64 x20,x20,tmp2,$0x10,$0x10
      
      Linking TBs 0x7fa1904b0890 [ffffffc00036cd04] index 0 -> 0x7fa1904b0aa0 [ffffffc00036cd24]
      Trace 0x7fa1904b0aa0 [0: ffffffc00036cd24]
      TODO qemu/tci.c:1049: tcg_qemu_tb_exec()
      qemu/tci.c:1049: tcg fatal error
      Aborted
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Signed-off-by: default avatarJaroslaw Pelczar <j.pelczar@samsung.com>
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Message-Id: <20170718045540.16322-11-f4bug@amsat.org>
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      797ed66d
  2. Jun 15, 2017
  3. Sep 16, 2016
  4. May 20, 2016
  5. May 13, 2016
  6. Apr 07, 2016
    • Stefan Weil's avatar
      tci: Fix build regression · 3ccdbecf
      Stefan Weil authored
      
      Commit d38ea87a cleaned the include
      statements which resulted in a wrong order of assert.h and the definition
      of NDEBUG in tci.c. Normally NDEBUG modifies the definition of the assert
      macro, but here this definition comes too late which results in a failing
      build.
      
      To fix this, a new macro tci_assert which depends on CONFIG_DEBUG_TCG
      is introduced. Only builds with CONFIG_DEBUG_TCG will use assertions.
      Even in this case, it is still possible to disable assertions by
      defining NDEBUG via compiler settings.
      
      Tested-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      3ccdbecf
  7. Feb 04, 2016
    • Peter Maydell's avatar
      all: Clean up includes · d38ea87a
      Peter Maydell authored
      
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
      d38ea87a
  8. Oct 07, 2015
  9. Sep 16, 2015
  10. Aug 24, 2015
  11. Jun 09, 2015
  12. May 14, 2015
  13. Feb 13, 2015
  14. Jun 05, 2014
  15. Jun 04, 2014
  16. Apr 18, 2014
  17. Sep 25, 2013
  18. Sep 20, 2013
  19. Sep 02, 2013
  20. Apr 11, 2013
  21. Dec 19, 2012
  22. Nov 24, 2012
  23. Nov 18, 2012
  24. Oct 06, 2012
  25. Sep 27, 2012
  26. Sep 15, 2012
  27. Jun 22, 2012
  28. May 08, 2012
  29. Apr 21, 2012
  30. Apr 07, 2012
  31. Mar 17, 2012
    • Stefan Weil's avatar
      w64: Fix data type of next_tb and tcg_qemu_tb_exec · 69784eae
      Stefan Weil authored
      
      next_tb is the numeric value of a tcg target (= QEMU host) address.
      
      Using tcg_target_ulong instead of unsigned long shows this and makes
      the code portable for hosts with an unusual size of long (w64).
      
      The type cast '(long)(next_tb & ~3)' was not needed (casting
      unsigned long to long does not change the bits, and nor does
      casting long to pointer for most (= all non w64) hosts.
      It is removed here.
      
      Macro or function tcg_qemu_tb_exec is used to set next_tb.
      The function also returns next_tb. Therefore tcg_qemu_tb_exec
      must return a tcg_target_ulong.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      69784eae
  32. Mar 14, 2012
  33. Nov 14, 2011
  34. Oct 31, 2011
Loading