2f96c28d55Use cpp to generate correct build dependencies for target objects instead of using incomplete hardcoded ones.
j_mayer
2007-10-28 13:07:12 +00:00
603fccceceMake Alpha and PowerPC targets use shared helpers for clz, clo, ctz, cto and ctpop.
j_mayer
2007-10-28 12:54:53 +00:00
05f778c8bdAdd sharable clz/clo inline functions and use them for the mips target.
ths
2007-10-27 13:05:54 +00:00
5592a750b9The other half of the mul64 rework. Sorry for the breakage, I committed an incomplete version of what I tested.
ths
2007-10-26 22:35:02 +00:00
7878ff6bc7Add const etc. to places forgotten from the previous commit
blueswir1
2007-10-26 19:34:46 +00:00
9634d9031cUse const and static as needed, disable unused code
blueswir1
2007-10-26 19:01:16 +00:00
31a60e2275Make Slirp statistics gathering and output conditional to LOG_ENABLED Add 'info slirp' command to monitor to display statistics Disable Slirp debugging code by default
blueswir1
2007-10-26 18:42:59 +00:00
7d294b61edFix Windows build failure, by Stefan Weil.
ths
2007-10-26 17:21:58 +00:00
f0685f6e7aFor consistency, align the address to the cache line before using it, when invalidating the instruction cache.
j_mayer
2007-10-26 00:55:17 +00:00
dac454af57Bugfix in PowerPC dcbi instruction: we must do a load before the store, or we'll store random data. Update cache instructions comments.
j_mayer
2007-10-26 00:48:00 +00:00
c7697e1f51Pretty dump for specific PowerPC instructions names.
j_mayer
2007-10-26 00:46:07 +00:00
f9fdea6b85Make PowerPC hypervisor resources able to compile, even if not enabled for now.
j_mayer
2007-10-26 00:38:37 +00:00
2c1ee068b4Bugfix: PowerPC 64 slbia never invalidates the first segment entry.
j_mayer
2007-10-26 00:37:04 +00:00
cd346349b4Add PowerPC power-management state check callback.
j_mayer
2007-10-25 23:27:04 +00:00
2f462816acImplement power-management for all defined PowerPC CPUs. Fix PowerPC 970MP definition.
j_mayer
2007-10-25 23:14:50 +00:00
e494ead521Restore a more maintainable version of the 64bit multiply code.
ths
2007-10-25 23:00:03 +00:00
86f1d3ac73Update PowerPC emulation status file.
j_mayer
2007-10-25 21:38:16 +00:00
8ca3f6c382Allow selection of all defined PowerPC 74xx (aka G4) CPUs.
j_mayer
2007-10-25 21:37:25 +00:00
0411a97258Gprof prooved the PowerPC emulation spent too much time in MSR load and store routines. Coming back to a raw MSR storage model then speed-up the emulation. Improve fast MSR updates (wrtee wrteei and mtriee cases). Share rfi family instructions helpers code to avoid bug in duplicated code. Allow entering halt mode as the result of a rfi instruction. Add a new helper_regs.h file to avoid duplication of special registers manipulation routines (currently XER and MSR).
j_mayer
2007-10-25 21:35:50 +00:00
7ac256b872Fix gdb stub for MIPS64.
ths
2007-10-25 21:30:37 +00:00
d8871c5a49Fix typo, spotted by Edivaldo de Araujo Pereira.
ths
2007-10-24 16:11:42 +00:00
1e64e78d0cFix compiling Sparc64 on PPC host
blueswir1
2007-10-20 07:07:47 +00:00
f85e9a6870Use TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.
j_mayer
2007-10-18 20:51:49 +00:00
e85e7c6ea4Use the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target (PowerPC 64 running in 32 bits mode). Use the new TARGET_ABI_DIR feature to implement a ppcemb-linux-user target (PowerPC 32 with 64 bits GPRs and vector extensions).
j_mayer
2007-10-18 19:59:49 +00:00
b533415989Only map BIOS space when it was actually loaded.
ths
2007-10-18 15:05:11 +00:00
a01d8cadadFix memory corruption reported by Julian Seward (still more bugs to fix in PreP emulation).
j_mayer
2007-10-14 08:52:44 +00:00
bb6f6792bfAllow Alpha target to use supervisor and executive mode micro-ops.
j_mayer
2007-10-14 08:50:17 +00:00
e63ecc6f68Do not allow PowerPC CPU restart after entering checkstop mode.
j_mayer
2007-10-14 08:48:23 +00:00
22f8a8b31cProvision for PowerPC 64 with hypervisor mode support - not enabled for now. For consistency, group all PowerPC targets.
j_mayer
2007-10-14 08:38:29 +00:00
1e42b8f06dGenerate micro-ops for PowerPC hypervisor mode.
j_mayer
2007-10-14 08:27:14 +00:00
b1806c9e67Generate micro-ops for Alpha executive and supervisor modes.
j_mayer
2007-10-14 08:18:12 +00:00
6ebbf39000Replace 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. Implement per target mmu modes definitions. As an example, add PowerPC hypervisor mode definition and Alpha executive and kernel modes definitions. Optimize PowerPC case, precomputing mmu_idx when MSR register changes and using the same definition in code translation code.
j_mayer
2007-10-14 07:07:08 +00:00