1. 11 10月, 2013 1 次提交
  2. 03 9月, 2013 1 次提交
  3. 06 8月, 2013 1 次提交
  4. 29 7月, 2013 1 次提交
    • J
      target-mips: fix branch in likely delay slot tcg assert · 240ce26a
      James Hogan 提交于
      When a branch delay slot contains another branch instruction, the code
      generated raises an exception, however since is_branch==1,
      handle_delay_slot() doesn't get called immediately. This means
      ctx->bstate isn't set to BS_BRANCH, and the decoder continues decoding
      until a non-branch instruction is found.
      
      If the first branch was a branch likely instruction then each
      instruction after it generates code for the unlikely case, to go to the
      next tb starting after the delay slot. This results in multiple goto_tb
      tcg ops being generated with the same exit number. When debug is enabled
      this hits:
      
      tcg-op.h:2589: tcg_gen_goto_tb: Assertion `(tcg_ctx.goto_tb_issue_mask & (1 << idx)) == 0' failed.
      
      This is fixed by removing is_branch entirely, and calling
      handle_delay_slot() if (ctx.hflags & MIPS_HFLAG_BMASK) was set prior to
      the current instruction being decoded. This still prevents
      handle_delay_slot() being called immediately after a branch but allows
      it to still be called after a branch within a delay slot.
      Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
      Signed-off-by: NYongbok Kim <yongbok.kim@imgtec.com>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      240ce26a
  5. 23 7月, 2013 1 次提交
  6. 10 7月, 2013 1 次提交
  7. 28 6月, 2013 1 次提交
  8. 09 5月, 2013 1 次提交
  9. 12 3月, 2013 1 次提交
  10. 05 3月, 2013 2 次提交
  11. 03 3月, 2013 1 次提交
  12. 24 2月, 2013 1 次提交
  13. 16 2月, 2013 2 次提交
  14. 01 2月, 2013 7 次提交
  15. 15 1月, 2013 1 次提交
    • A
      cpu: Move cpu_index field to CPUState · 55e5c285
      Andreas Färber 提交于
      Note that target-alpha accesses this field from TCG, now using a
      negative offset. Therefore the field is placed last in CPUState.
      
      Pass PowerPCCPU to [kvm]ppc_fixup_cpu() to facilitate this change.
      
      Move common parts of mips cpu_state_reset() to mips_cpu_reset().
      
      Acked-by: Richard Henderson <rth@twiddle.net> (for alpha)
      [AF: Rebased onto ppc CPU subclasses and openpic changes]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      55e5c285
  16. 01 1月, 2013 1 次提交
  17. 19 12月, 2012 2 次提交
  18. 08 12月, 2012 3 次提交
  19. 24 11月, 2012 3 次提交
  20. 17 11月, 2012 2 次提交
  21. 15 11月, 2012 1 次提交
  22. 11 11月, 2012 1 次提交
  23. 10 11月, 2012 1 次提交
  24. 01 11月, 2012 3 次提交