1. 29 6月, 2012 2 次提交
    • B
      x86: improve SSE table type safety · c4baa050
      Blue Swirl 提交于
      SSE function tables could easily be corrupted because of use
      of void pointers.
      
      Introduce function pointer types and helper variables in order
      to improve type safety.
      
      Split sse_op_table3 according to types used.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      c4baa050
    • B
      x86: avoid AREG0 for exceptions · 77b2bc2c
      Blue Swirl 提交于
      Add an explicit CPUX86State parameter instead of relying on AREG0.
      
      Merge raise_exception_env() to raise_exception(), likewise with
      raise_exception_err_env() and raise_exception_err().
      
      Introduce cpu_svm_check_intercept_param() and cpu_vmexit()
      as wrappers.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      77b2bc2c
  2. 15 3月, 2012 1 次提交
  3. 13 1月, 2012 1 次提交
  4. 11 1月, 2012 1 次提交
    • A
      target-i386: fix SSE rounding and flush to zero · 2355c16e
      Aurelien Jarno 提交于
      SSE rounding and flush to zero control has never been implemented. However
      given that softfloat-native was using a single state for FPU and SSE and
      given that glibc is setting both FPU and SSE state in fesetround(), this
      was working correctly up to the switch to softfloat.
      
      Fix that by adding an update_sse_status() function similar to
      update_fpu_status(), and callin git on write to mxcsr.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      2355c16e
  5. 12 12月, 2011 1 次提交
  6. 01 10月, 2011 1 次提交
  7. 21 9月, 2011 1 次提交
  8. 08 9月, 2011 1 次提交
  9. 27 6月, 2011 1 次提交
  10. 08 6月, 2011 1 次提交
  11. 20 4月, 2011 1 次提交
    • S
      Remove unused function parameters from gen_pc_load and rename the function · e87b7cb0
      Stefan Weil 提交于
      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: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NStefan Weil <weil@mail.berlios.de>
      e87b7cb0
  12. 10 4月, 2011 1 次提交
  13. 20 1月, 2011 1 次提交
  14. 25 7月, 2010 1 次提交
  15. 24 7月, 2010 1 次提交
  16. 02 7月, 2010 2 次提交
  17. 05 6月, 2010 1 次提交
  18. 05 5月, 2010 1 次提交
  19. 26 4月, 2010 1 次提交
  20. 09 4月, 2010 1 次提交
  21. 13 3月, 2010 1 次提交
  22. 10 3月, 2010 1 次提交
    • A
      target-i386: fix SIB decoding with index = 4 · b16f827b
      Aurelien Jarno 提交于
      A SIB byte with an index of 4 means "no scaled index", even if the scale
      value is not 0. In 64-bit mode, if REX.X is used, an index of 4 selects
      %r12. This is correctly handled by the computation of the index variable,
      which includes the index bits, and also the REX.X prefix:
      
          index = ((code >> 3) & 7) | REX_X(s);
      
      Thanks to Avi Kivity, Jamie Lokier and Malc for the analysis of the
      problem and the initial patch.
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      b16f827b
  23. 07 3月, 2010 2 次提交
  24. 06 2月, 2010 1 次提交
  25. 14 1月, 2010 1 次提交
  26. 03 1月, 2010 1 次提交
  27. 23 10月, 2009 1 次提交
  28. 07 10月, 2009 1 次提交
  29. 05 10月, 2009 1 次提交
  30. 04 10月, 2009 3 次提交
  31. 01 10月, 2009 1 次提交
  32. 27 9月, 2009 2 次提交
  33. 12 9月, 2009 1 次提交
    • B
      Fix sys-queue.h conflict for good · 72cf2d4f
      Blue Swirl 提交于
      Problem: Our file sys-queue.h is a copy of the BSD file, but there are
      some additions and it's not entirely compatible. Because of that, there have
      been conflicts with system headers on BSD systems. Some hacks have been
      introduced in the commits 15cc9235,
      f40d7537,
      96555a96 and
      3990d09a but the fixes were fragile.
      
      Solution: Avoid the conflict entirely by renaming the functions and the
      file. Revert the previous hacks.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      72cf2d4f
  34. 28 7月, 2009 1 次提交