1. 27 Aug, 2012 4 commits
  2. 23 Aug, 2012 1 commit
    • Meador Inge's avatar
      target-mips: Enable access to required RDHWR hardware registers · 94159135
      Meador Inge authored
      
      
      While running in the usermode emulator all of the required*
      MIPS32r2 RDHWR hardware registers should be accessible (the
      Linux kernel enables access to these same registers).  Note
      that these registers are still enabled when the MIPS ISA is
      not release 2.  This is OK since the Linux kernel emulates
      access to them when they are not available in hardware.
      
      * There is also the ULR register which is only recommended
        for full release 2 compliance.  Incidentally, accessing
        this register in the current implementation works fine
        without flipping its access bit.
      Signed-off-by: default avatarMeador Inge <meadori@codesourcery.com>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      94159135
  3. 09 Aug, 2012 1 commit
    • Nathan Froyd's avatar
      MIPS: Correct FCR0 initialization · f1cb0951
      Nathan Froyd authored
      
      
       This change addresses a problem where QEMU incorrectly traps on
      floating-point MADD group instructions with SIGILL, at least while
      emulating MIPS32r2 processors.  These instructions use the COP1X major
      opcode and include ones like:
      
      	madd.d	$f2,$f4,$f2,$f6
      
       Here's Nathan's original analysis of the problem:
      
      "QEMU essentially does:
      
        d = find_cpu (cpu_string)	// get CPU definition
        fpu_init (env, d)		// initialize fpu state (init FCR0, basically)
        cpu_reset (env)
      
      ...and the cpu_reset call clears all interesting state that fpu_init
      setup, then proceeds to reinitialize all the CP0 registers...but not
      FCR0."
      
       I have verified this change with system emulation running the GDB test
      suite for the mips-sde-elf target (o32, big endian, 24Kf CPU emulated),
      there were 55 progressions and no regressions.
      Signed-off-by: default avatarMaciej W. Rozycki <macro@codesourcery.com>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      f1cb0951
  4. 04 Jun, 2012 2 commits
  5. 19 May, 2012 1 commit
  6. 30 Apr, 2012 2 commits
  7. 14 Mar, 2012 2 commits
  8. 28 Feb, 2012 1 commit
  9. 06 Sep, 2011 2 commits
  10. 20 Aug, 2011 1 commit
  11. 26 Jun, 2011 1 commit
  12. 20 Apr, 2011 1 commit
    • Stefan Weil's avatar
      Remove unused function parameters from gen_pc_load and rename the function · e87b7cb0
      Stefan Weil authored
      Function gen_pc_load was introduced in commit
      d2856f1a.
      The only reason for parameter searched_pc was
      a debug statement in target-i386/translate.c.
      
      Parameter puc was needed by target-sparc until
      commit d7da2a10
      
      .
      
      Remove searched_pc from the debug statement and remove both
      parameters from the parameter list of gen_pc_load.
      
      As the function name gen_pc_load was also misleading,
      it is now called restore_state_to_opc. This new name
      was suggested by Peter Maydell, thanks.
      
      v2: Remove last parameter, too, and rename the function.
      
      v3: Fix [] typo in target-arm/translate.c.
          Fix wrong SHA1 object name in commit message (copy+paste error).
      
      Cc: Aurelien Jarno <aurelien@aurel32.net>
      Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: default avatarStefan Weil <weil@mail.berlios.de>
      e87b7cb0
  13. 09 Apr, 2011 1 commit
  14. 24 Jan, 2011 1 commit
  15. 18 Jan, 2011 1 commit
  16. 22 Dec, 2010 1 commit
  17. 30 Oct, 2010 1 commit
  18. 13 Oct, 2010 1 commit
    • Blue Swirl's avatar
      mips: avoid write only variables · 2abf314d
      Blue Swirl authored
      
      
      Compiling with GCC 4.6.0 20100925 produced a lot of warnings like:
      /src/qemu/target-mips/translate.c: In function 'gen_ld':
      /src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set but not used [-Werror=unused-but-set-variable]
      
      Fix by adding a dummy cast so that the variable is not unused.
      Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
      2abf314d
  19. 31 Jul, 2010 1 commit
  20. 25 Jul, 2010 1 commit
  21. 11 Jul, 2010 1 commit
  22. 01 Jul, 2010 1 commit
  23. 30 Jun, 2010 2 commits
  24. 29 Jun, 2010 1 commit
  25. 09 Jun, 2010 6 commits
  26. 08 Jun, 2010 1 commit
  27. 05 May, 2010 1 commit