- 31 Jul, 2010 1 commit
-
-
Hervé Poussineau authored
Signed-off-by:
Hervé Poussineau <hpoussin@reactos.org> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 25 Jul, 2010 1 commit
-
-
Aurelien Jarno authored
Commit 36388314 moved most of the interrupt logic to cpu-exec.c. Remove the remaining useless code and fix software interrupts. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net> Acked-by:
Edgar E. Iglesias <edgar@axis.com> Tested-by:
Edgar E. Iglesias <edgar@axis.com>
-
- 11 Jul, 2010 1 commit
-
-
Aurelien Jarno authored
This patch adds support for loongson 2E & 2F instructions. They are the same instructions, but differ by the opcode encoding. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 01 Jul, 2010 1 commit
-
-
Aurelien Jarno authored
Loongson CPU uses a load to zero register for prefetch. Emulate it as a NOP. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 30 Jun, 2010 2 commits
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 29 Jun, 2010 1 commit
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 09 Jun, 2010 6 commits
-
-
Stefan Weil authored
TCGv t1 needs tcg_temp_free instead of tcg_temp_free_i32. Cc: Nathan Froyd <froydnj@codesourcery.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Add instruction decoding for the microMIPS ASE. All we do is decode and then forward to the existing gen_* routines. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Change code handling mips16-specific branches to use ISA-neutral special opcodes. Since there are several places where the delay slot requirements for microMIPS branches differ from mips16 branches, using opcodes is easier than checking hflags, then checking mips16 vs. microMIPS. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Move all knowledge about coprocessor-checking and register numbering into the gen_cmp* helper functions. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Add FMT_* constants for the floating-point format field in opcodes and tweak a few places to use them. Add enums for various invocations of FOP and tweak gen_farith and its lone caller accordingly. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 08 Jun, 2010 1 commit
-
-
Nathan Froyd authored
Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Acked-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 05 May, 2010 1 commit
-
-
Richard Henderson authored
Logging for -d cpu is done in generic code. Signed-off-by:
Richard Henderson <rth@twiddle.net> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 09 Apr, 2010 1 commit
-
-
Stefan Weil authored
In the previous patch which introduced fprintf_function to allow parameter checking by gcc some compiler warnings remained unfixed. These warnings are fixed here. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 08 Apr, 2010 2 commits
-
-
Stefan Weil authored
env->bcond must be printed using TARGET_FMT_ld. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 04 Mar, 2010 1 commit
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 02 Mar, 2010 1 commit
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 23 Feb, 2010 3 commits
-
-
Nathan Froyd authored
Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
When we signal a CpU exception for coprocessor 0, we should indicate that it's for coprocessor 0 instead of coprocessor 1. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 13 Dec, 2009 8 commits
-
-
Nathan Froyd authored
Running programs with the MIPS user-mode emulator fails during dynamic loading, as floating-point instructions are not enabled in in env->hflags. Move the code for doing so from fpu_init to cpu_reset so the MIPS_HFLAG_{FPU,F64} setting doesn't get clobbered by cpu_reset setting env->hflags to MIPS_HFLAG_UM. The same end can be achieved by swapping the ordering of fpu_init and cpu_reset in cpu_mips_init, but it seemed better to consolidate the CONFIG_USER_ONLY code into a single location. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Also cross off mips16 ASE in TODO. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
There's no good way to add this incrementally, so we do it all at once. The only changes to shared code are in handle_delay_slot. We need to flip ISAMode when doing a jump-and-exchange. We also need to set ISAMode the low bit of the target address for jump-to-register. Also, since we're now adding bits that can be in MIPS_HFLAG_BMASK_EXT, make sure we use MIPS_HFLAG_BMASK_BASE in the places where we just want basic information about a branch. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Move delay slot handling to common code whose invocation can be controlled from gen_intermediate_code_internal. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
This is a common pattern in existing code. We'll also use it to implement the mips16 SAVE/RESTORE instructions. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Nathan Froyd authored
It's easier to implement mips16 shift instructions if we're not examining the opcode inside gen_shift_{imm,}. So move ROTR and ROTRV and do the special-case handling of SRL and SRLV inside decode_opc. Likewise for their 64-bit counterparts. Signed-off-by:
Nathan Froyd <froydnj@codesourcery.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 30 Nov, 2009 1 commit
-
-
Aurelien Jarno authored
Currently the ll/sc instructions use the virtual address in both user and system mode. Use the physical address insteead in system mode. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 22 Nov, 2009 2 commits
-
-
Aurelien Jarno authored
Depending on the CPU, CP0_LLAddr is either read-only or read-write, and the returned value can be shifted by a variable amount of bits. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net> Signed-off-by:
Hervé Poussineau <hpoussin@reactos.org>
-
Aurelien Jarno authored
The variable CP0_LLAddr represent the full lladdr, not the actual register value, which is only part of this value and depends on the CPU. Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 14 Nov, 2009 1 commit
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 13 Nov, 2009 1 commit
-
-
Blue Swirl authored
Remove cpu_mips_register() - move mmu_init(), fpu_init() and mvp_init() into cpu_mips_init() - move the other parts in cpu_mips_init() Reported-by:
Blue Swirl <blauwirbel@gmail.com> Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
- 01 Oct, 2009 2 commits
-
-
Anthony Liguori authored
In the very least, a change like this requires discussion on the list. The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it. This reverts commit 99a0949b . Signed-off-by:
Anthony Liguori <aliguori@us.ibm.com>
-
malc authored
Some not so obvious bits, slirp and Xen were left alone for the time being. Signed-off-by:
malc <av1474@comtv.ru>
-
- 30 Sep, 2009 2 commits
-
-
Aurelien Jarno authored
Signed-off-by:
Aurelien Jarno <aurelien@aurel32.net>
-
Stefan Weil authored
inofficial -> unofficial Thanks to Blue Swirl. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-