Skip to content
Snippets Groups Projects
  1. Feb 26, 2016
  2. Feb 23, 2016
  3. Feb 04, 2016
  4. Feb 03, 2016
  5. Jan 29, 2016
  6. Jan 28, 2016
  7. Jan 23, 2016
  8. Jan 14, 2016
  9. Jan 12, 2016
    • Peter Maydell's avatar
      disas/libvixl: Suppress gcc 4.6.3 sign-compare warnings · 8acc216b
      Peter Maydell authored
      
      The VIXL code includes some equality comparisons between signed
      and unsigned types. Modern gcc and clang do not complain about
      these, but older versions of gcc such as gcc 4.6.3 do. Since
      libvixl is an upstream library, the simplest approach is to
      suppress the warnings by applying -Wno-sign-compare to the
      relevant files.
      
      (GCC 4.6 is not quite yet irrelevant for us; it is the gcc
      shipped with Ubuntu Precise, for example, which is an LTS
      release not yet out of its support period.)
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1452604204-27202-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      8acc216b
  10. Jan 11, 2016
    • Peter Maydell's avatar
      disas/libvixl: Update to upstream VIXL 1.12 · 5de6f3c0
      Peter Maydell authored
      
      Update our copy of libvixl to upstream's 1.12 release.
      The major benefit from QEMU's point of view is that some instructions
      previously disassembled as "unimplemented (System)" are now displayed
      as something more useful. It also fixes some warnings about format
      strings that newer w64-mingw32 compilers were emitting.
      
      We didn't have any local changes to libvixl so nothing needed
      to be forward-ported.
      
      Although this is a large commit (due to upstream renaming most
      of the files), only a few of the files changed in this commit
      are not just straight copies of upstream libvixl files:
       disas/arm-a64.cc
       disas/libvixl/Makefile.objs
       disas/libvixl/README
      
      Note that this commit introduces some signed-unsigned comparison
      warnings on the old mingw compilers. Those compilers have broken
      TLS support anyway so have only ever been much use for compile tests;
      anybody still using them should add -Wno-sign-compare to their
      --extra-cflags.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5de6f3c0
  11. Nov 17, 2015
  12. Oct 19, 2015
  13. Oct 02, 2015
  14. Sep 11, 2015
  15. Jul 21, 2015
  16. Jul 15, 2015
  17. Jul 09, 2015
  18. Jun 12, 2015
    • Leon Alrae's avatar
      target-mips: add MTHC0 and MFHC0 instructions · 5204ea79
      Leon Alrae authored
      
      Implement MTHC0 and MFHC0 instructions. In MIPS32 they are used to access
      upper word of extended to 64-bits CP0 registers.
      
      In MIPS64, when CP0 destination register specified is the EntryLo0 or
      EntryLo1, bits 1:0 of the GPR appear at bits 31:30 of EntryLo0 or
      EntryLo1. This is to compensate for RI and XI, which were shifted to bits
      63:62 by MTC0 to EntryLo0 or EntryLo1. Therefore creating separate
      functions for EntryLo0 and EntryLo1.
      
      Signed-off-by: default avatarLeon Alrae <leon.alrae@imgtec.com>
      Reviewed-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      5204ea79
  19. Jun 11, 2015
  20. Mar 19, 2015
  21. Mar 10, 2015
    • Stefan Weil's avatar
      disas/microblaze: Fix warnings caused by missing 'static' attribute · 52b831de
      Stefan Weil authored
      
      Warnings from the Sparse static analysis tool:
      
      disas/microblaze.c:289:3: warning:
       symbol 'opcodes' was not declared. Should it be static?
      disas/microblaze.c:570:6: warning:
       symbol 'register_prefix' was not declared. Should it be static?
      disas/microblaze.c:571:6: warning:
       symbol 'special_register_prefix' was not declared. Should it be static?
      disas/microblaze.c:572:6: warning:
       symbol 'fsl_register_prefix' was not declared. Should it be static?
      disas/microblaze.c:573:6: warning:
       symbol 'pvr_register_prefix' was not declared. Should it be static?
      
      Remove the unused variable special_register_prefix.
      The variable pvr_register_prefix was unused, too, but can be used.
      Add also 'const' where possible.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      52b831de
    • Stefan Weil's avatar
      disas/arm: Fix warnings caused by missing 'static' attribute · 35ff0798
      Stefan Weil authored
      
      Warnings from the Sparse static analysis tool:
      
      disas/arm.c:1552:15: warning:
       symbol 'last_type' was not declared. Should it be static?
      disas/arm.c:1553:5: warning:
       symbol 'last_mapping_sym' was not declared. Should it be static?
      disas/arm.c:1554:9: warning:
       symbol 'last_mapping_addr' was not declared. Should it be static?
      
      Instead of adding 'static', the unused variables and the unused code which
      refers to those variables (which was deactivated a long time ago in
      commit 4b0f1a8b) are removed.
      
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
      35ff0798
  22. Feb 10, 2015
  23. Feb 05, 2015
    • Peter Maydell's avatar
      disas/arm-a64.cc: Tell libvixl correct code addresses · 8d298bee
      Peter Maydell authored
      
      disassembling relative branches in code which doesn't reside at
      what the guest CPU would think its execution address is. Use
      the new MapCodeAddress() API to tell libvixl where the code is
      from the guest CPU's point of view so it can get the target
      addresses right.
      
      Previous disassembly:
      
      0x0000000040000000:  580000c0      ldr x0, pc+24 (addr 0x7f6cb7020434)
      0x0000000040000004:  aa1f03e1      mov x1, xzr
      0x0000000040000008:  aa1f03e2      mov x2, xzr
      0x000000004000000c:  aa1f03e3      mov x3, xzr
      0x0000000040000010:  58000084      ldr x4, pc+16 (addr 0x7f6cb702042c)
      0x0000000040000014:  d61f0080      br x4
      
      Fixed disassembly:
      0x0000000040000000:  580000c0      ldr x0, pc+24 (addr 0x40000018)
      0x0000000040000004:  aa1f03e1      mov x1, xzr
      0x0000000040000008:  aa1f03e2      mov x2, xzr
      0x000000004000000c:  aa1f03e3      mov x3, xzr
      0x0000000040000010:  58000084      ldr x4, pc+16 (addr 0x40000020)
      0x0000000040000014:  d61f0080      br x4
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1422274779-13359-3-git-send-email-peter.maydell@linaro.org
      8d298bee
    • Peter Maydell's avatar
      disas/libvixl: Update to upstream VIXL 1.7 · d4eba98d
      Peter Maydell authored
      
      Update our copy of libvixl to upstream's 1.7 release.
      This includes upstream's fix for the issue we had a local
      patch for in commit 94cc44a9.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1422274779-13359-2-git-send-email-peter.maydell@linaro.org
      d4eba98d
  24. Feb 03, 2015
    • Peter Maydell's avatar
      disas/s390.c: Remove unused variables · 5b279407
      Peter Maydell authored
      
      The variables s390_opformats and s390_num_opformats are unused and
      provoke clang warnings:
      
      disas/s390.c:849:33: warning: variable 's390_opformats' is not needed and will not be emitted [-Wunneeded-internal-declaration]
      static const struct s390_opcode s390_opformats[] =
                                      ^
      disas/s390.c:875:18: warning: unused variable 's390_num_opformats' [-Wunused-const-variable]
      static const int s390_num_opformats =
                       ^
      
      Delete them, since QEMU doesn't use them.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
      Message-id: 1419373100-17690-3-git-send-email-peter.maydell@linaro.org
      Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
      5b279407
  25. Jan 21, 2015
  26. Dec 16, 2014
Loading