Statistics
| Branch: | Revision:

root / target-cris / op_helper.c @ a74cdab4

History | View | Annotate | Download (13.5 kB)

# Date Author Comment
618ba8e6 04/20/2011 11:37 am Stefan Weil

Remove unused function parameter from cpu_restore_state

The previous patch removed the need for parameter puc.
Is is now unused, so remove it.

Cc: Aurelien Jarno <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Stefan Weil <>

3e18c6bf 10/07/2010 10:20 pm Edgar E. Iglesias

cris: Consider the TLB valid bit on writes to the TLB

When updating the guest TLB we only need to flush previous
mappings from the entry written if the entry was valid.

Also fixes a compiler warning reported by Blue Swirl.

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

95475216 02/15/2010 12:20 pm Edgar E. Iglesias

crisv10: Always clear the V and C flags on btst.

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

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

55616505 05/13/2009 10:54 pm Paul Brook

Include assert.h from qemu-common.h

Include assert.h from qemu-common.h and remove other direct uses.
cpu-all.h still need to include it because of the dyngen-exec.h hacks

Signed-off-by: Paul Brook <>

93fcfe39 01/16/2009 12:34 am aliguori

Convert references to logfile/loglevel to use qemu_log*() macros

This is a large patch that changes all occurrences of logfile/loglevel
global variables to use the new qemu_log*() macros.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Anthony Liguori <>...

d12d51d5 01/15/2009 11:48 pm aliguori

Clean up debugging code #ifdefs (Eduardo Habkost)

Use macros to avoid #ifdefs on debugging code.

This patch doesn't try to merge logging macros from different files,
but just unify the debugging code #ifdefs onto a macro on each file. A
further cleanup can unify the debugging macros on a common header, later...

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

fad6cb1a 01/05/2009 12:05 am aurel32

Update FSF address in GPL/LGPL boilerplate

The attached patch updates the FSF address in the GPL/LGPL boilerplate
in most GPL/LGPLed files, and also in COPYING.LIB.

Signed-off-by: Stuart Brady <>
Signed-off-by: Aurelien Jarno <>...

0a6f8a6d 12/29/2008 04:39 pm edgar_igl

CRIS: Remove CRIS specific do_unassigned_access.

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

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

db8d9902 12/07/2008 08:15 pm aurel32

Remove FORCE_RET() and RETURN

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5923 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

e18231a3 10/06/2008 09:46 pm blueswir1

Show size for unassigned accesses (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5436 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

551bd27f 07/03/2008 08:57 pm ths

Convert remaining __builtin_expect to likely/unlikely, by Jan Kiszka.

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

6913ba56 06/30/2008 06:27 pm edgar_igl

CRIS: Correct writes to TLB hi.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4807 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

e2eef170 06/08/2008 04:09 am pbrook

Remove dead and bitrotten "qemu-fast" code.
Only build softmmu+MMIO handlers for system emulation.

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

bf443337 06/06/2008 02:17 pm edgar_igl

Correct P flag assertion in rfe.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4683 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

9b7b85d2 05/25/2008 03:36 am pbrook

Fix off-by-one unwinding error.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4570 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....
ef29a70d 05/06/2008 11:04 am edgar_igl CRIS MMU Updates
  • Add support for exec faults and for the k protection bit.
  • Abort if search_pc causes recursive mmu faults.

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

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

44f8625d 11/11/2007 02:35 pm bellard

fixed invalid type

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

273af660 10/29/2007 04:39 pm ths

Adjust s390 addresses (the MSB is defined as "to be ignored").

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

6ebbf390 10/14/2007 10:07 am j_mayer

Replace is_user variable with mmu_idx in softmmu core,
allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
and #ifdef TARGET_xxx in softmmu core functions....

81fdc5f8 10/08/2007 04:04 pm ths

The remainder of CRIS CPU emulation files, by Edgar E. Iglesias.

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