Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/kernel/arch/mips




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: src/tests/kernel/arch/mips

From: "Rin Okuyama" <rin%netbsd.org@localhost>

Date: Mon, 21 Apr 2025 14:17:38 +0000


Module Name:    src
Committed By:   rin
Date:           Mon Apr 21 14:17:38 UTC 2025

Modified Files:
        src/tests/kernel/arch/mips: stack_pointer.h

Log Message:
t_signal_and_sp: mips: Fix {MISALIGN,FIX}_SP() for !o32

Use `daddiu` instead of `addiu` as done in <mips/asm.h>.

Otherwise, +/-1 is added to lower-32-bits of sp, and then
results are sign-extended to whole-64-bits register (oops!!).


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/kernel/arch/mips/stack_pointer.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.






Prev by Date: CVS commit: src/lib/libc

Next by Date: CVS commit: src/distrib/sets/lists/comp

Previous by Thread: CVS commit: src/lib/libc

Next by Thread: CVS commit: src/distrib/sets/lists/comp

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index