Date: Tue, 7 Aug 2012 15:13:16 +0800 From: Paul Ambrose <ambrosehua@gmail.com> To: freebsd-mips@freebsd.org Subject: SYSCTL_INT emulate_fp error Message-ID: <CAMwoQQ5Yt9w8d1_K-mwQECZL0S-tyYAewPGrRYoNQXe=2b4P0g@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
When I read sys/mips/mips/trap.c, I found /* * FP emulation is assumed to work on O32, but the code is outdated and crufty * enough that it's a more sensible default to have it disabled when using * other ABIs. At the very least, it needs a lot of help in using * type-semantic ABI-oblivious macros for everything it does. */ #if defined(__mips_o32) static int emulate_fp = 1; #else static int emulate_fp = 0; #endif SYSCTL_INT(_machdep, OID_AUTO, emulate_fp, CTLFLAG_RW, &allow_unaligned_acc, 0, "Emulate unimplemented FPU instructions"); here &allow_unaligned_acc should be &emulate_fp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMwoQQ5Yt9w8d1_K-mwQECZL0S-tyYAewPGrRYoNQXe=2b4P0g>