Statistics
| Branch: | Revision:

root / target-cris / helper.h @ 49a945a3

History | View | Annotate | Download (1 kB)

# Date Author Comment
6231868b 01/08/2009 01:38 am edgar_igl

CRIS: Purify some of the flag evaluation helpers.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6227 c046a42c-6fe2-441c-8c8c-71466251a162

c38ac98d 01/07/2009 03:19 pm edgar_igl

CRIS: Use a helper for lz.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6205 c046a42c-6fe2-441c-8c8c-71466251a162

abd5c94e 01/07/2009 03:11 pm edgar_igl

CRIS: Speedup btst by using a helper.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6203 c046a42c-6fe2-441c-8c8c-71466251a162

a8cf66bb 01/07/2009 02:25 pm edgar_igl

CRIS: Slight performance improvement for flag evaluation.

Translate sub and cmp ops separately when evaluating flags to avoid checking
for them at runtime.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6198 c046a42c-6fe2-441c-8c8c-71466251a162

a7812ae4 11/17/2008 04:43 pm pbrook

TCG variable type checking.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5729 c046a42c-6fe2-441c-8c8c-71466251a162

a1aebcb8 10/08/2008 01:48 am edgar_igl

CRIS: Fix brk 8 and add S-flag emulation.

  • break 8 sets ERP to the current insn.
  • First shot at S flag single-stepping.
  • Make it easier to use the local disasm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5445 c046a42c-6fe2-441c-8c8c-71466251a162

28de16da 09/22/2008 11:51 pm edgar_igl

CRIS: Improve ASID related TLB flushes.

  • Speedup and correct ASID (PID) related TLB flushes.
  • Use 64bit tcg load/stores to emulate movem.
  • Remove unused helpers and other minor cleanups.

Signed-off-by: Edgar E. Iglesias <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5302 c046a42c-6fe2-441c-8c8c-71466251a162

5bf8f1ab 06/10/2008 02:07 am edgar_igl

CRIS: Support RFN insn.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4718 c046a42c-6fe2-441c-8c8c-71466251a162

30abcfc7 05/28/2008 12:10 am edgar_igl

CRIS: Restructure the translator to allow for better code generation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4594 c046a42c-6fe2-441c-8c8c-71466251a162

cf1d97f0 05/13/2008 01:59 pm edgar_igl CRIS: Improve TLB management and handle delayslots at page boundaries.
  • Dont flush the entire qemu tlb when the $pid changes. Instead we go through
    the guests TLB and choose entries that need to be flushed.
  • Add env->dslot and handle delayslots at pageboundaries....
dceaf394 05/07/2008 06:24 pm edgar_igl CRIS: More TCG conversion.
  • Convert moves to/from support function regs (including TLB updates) to TCG.
  • SCC no longer requires T0 to strictly be 0 or 1, relaxed to 0 or non-zero.
  • Convert the the condition code evaluation to TCG.
  • Convert rfe into a helper and TCG....
b41f7df0 05/03/2008 01:16 am edgar_igl CRIS updates:
  • Support both the I and D MMUs and improve the accuracy of the MMU model.
  • Handle the automatic user/kernel stack pointer switching when leaving or entering user mode.
  • Move the CCS evaluation into helper funcs.
  • Make sure user-mode cannot change flags only writeable in kernel mode....
786c02f1 03/14/2008 03:08 am edgar_igl

Model more parts of the ETRAX mmu (still alot missing).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4056 c046a42c-6fe2-441c-8c8c-71466251a162