Date: Sat, 12 Oct 2002 15:42:49 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 exception.s Message-ID: <200210122242.g9CMgnFa036109@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2002/10/12 15:42:48 PDT Modified files: sys/ia64/ia64 exception.s Log: Plug two holes where we returned to userland without restoring the predicate registers. Even though the ITLB and DTLB interrupts happen often enough, this bug didn't do much harm. The reason is that the interrupt handlers only modify p1 and since this is a preserved (callee-saved) register it is hardly used in code generated by the compiler. Compilers use scratch registers by default. Changing the interrupt handlers to use p6 (ie a scratch register) proved that the bug was in fact fatal. Revision Changes Path 1.35 +2 -0 src/sys/ia64/ia64/exception.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210122242.g9CMgnFa036109>