You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
The test_setjmp tries to test that integer and float registers are restored properly. However it fails when test float registers.
setjmp returns not zero
register xx's value is changed :
if (xx != FLOAT_VALUE1) {
fprintf(stderr, "setjmp() is broken for floating point registers !\n");
exit(1);
}
Reproduce steps
cd ~/ucore_plus/ucore
make ARCH=arm BOARD=goldfishv7 defconfig
make sfsimg
make kernel
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecs/test_setjmp.testspec
Current result
kernel_execve: pid = 4, name = "/bionic-test/test_setjmp".
setjmp() is broken for floating point registers !
Expected Result
the sentence: "setjmp() is broken for floating point registers !" wouldn't appear
The text was updated successfully, but these errors were encountered:
you should aware that the task switching code in the kernel does NOT store/restore floating point regs, so you may need to add this support in order to pass the test.
you should aware that the task switching code in the kernel does NOT store/restore floating point regs, so you may need to add this support in order to pass the test.
—
Reply to this email directly or view it on GitHub.
Description
The test_setjmp tries to test that integer and float registers are restored properly. However it fails when test float registers.
setjmp returns not zero
register xx's value is changed :
if (xx != FLOAT_VALUE1) {
fprintf(stderr, "setjmp() is broken for floating point registers !\n");
exit(1);
}
Reproduce steps
cd ~/ucore_plus/ucore
make ARCH=arm BOARD=goldfishv7 defconfig
make sfsimg
make kernel
./uCore_test -s bionic -w 15 -t 45 -f src/user-ucore/testspecs/test_setjmp.testspec
Current result
kernel_execve: pid = 4, name = "/bionic-test/test_setjmp".
setjmp() is broken for floating point registers !
Expected Result
the sentence: "setjmp() is broken for floating point registers !" wouldn't appear
The text was updated successfully, but these errors were encountered: