Module Name: src Committed By: bouyer Date: Sat Aug 27 13:23:52 UTC 2011
Modified Files: src/common/lib/libc/arch/mips/atomic: atomic_add.S atomic_and.S atomic_dec.S atomic_inc.S atomic_or.S atomic_swap.S src/common/lib/libc/arch/mips/string: bcopy.S src/sys/arch/mips/include: cpuregs.h src/sys/arch/mips/mips: lock_stubs_ras.S mipsX_subr.S mips_fixup.c Log Message: loongson2f support: - Add some loongson2 definitions to cpuregs.h, from OpenBSD - Make sure that the at register is useable before every jump register instruction (exept when register is k0 or k1) because -mfix-loongson2f-btb needs the at register for its workaround - add code to mips_fixup.c to handle the instructions added by -mfix-loongson2f-btb - Add a ls2-specific tlb miss handler: it doesn't have separate handler for the xtlbmiss exeption. - Fixes for some #ifdef MIPS3_LOONGSON2 assembly code (using the wrong register) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/common/lib/libc/arch/mips/atomic/atomic_add.S \ src/common/lib/libc/arch/mips/atomic/atomic_and.S \ src/common/lib/libc/arch/mips/atomic/atomic_dec.S \ src/common/lib/libc/arch/mips/atomic/atomic_inc.S \ src/common/lib/libc/arch/mips/atomic/atomic_or.S \ src/common/lib/libc/arch/mips/atomic/atomic_swap.S cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/arch/mips/string/bcopy.S cvs rdiff -u -r1.85 -r1.86 src/sys/arch/mips/include/cpuregs.h cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/mips/lock_stubs_ras.S cvs rdiff -u -r1.53 -r1.54 src/sys/arch/mips/mips/mipsX_subr.S cvs rdiff -u -r1.8 -r1.9 src/sys/arch/mips/mips/mips_fixup.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.