-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: AARCH64 not correct process VFP #16
Comments
此问题在更新升级工具链以后出现的问题
解决方案: 尝试搜索过cargo 支持不同target构建 方案不适合我们场景, 建议方案: VFP.S 作为独立的汇编文件,在 |
guoweikang
added a commit
that referenced
this issue
Jul 26, 2024
issue: #16 -------- 1 Exception doesn't save VFP registers 2 kernel generate code shouldn't use VFP registers, need close -neon and -fp-armv8 3 taskctx need save/restore user application VFP ctx, need access VFP registers After rustc update, it would complain when 2&3 happend, on this commit :65a4f5896317115cf1edc74800f0da5d92923243, opened neon when fp_smid enable,it broken 2, so it create bug; after return user from kernel trap, usr vfp registers ctx are changed; This commit close neon when complie kernel, taskctx need access VFP registers through build.rs to fix Signed-off-by: guoweikang <[email protected]>
guoweikang
added a commit
that referenced
this issue
Jul 26, 2024
issue: #16 -------- 1 Exception doesn't save VFP registers 2 kernel generate code shouldn't use VFP registers, need close -neon and -fp-armv8 3 taskctx need save/restore user application VFP ctx, need access VFP registers After rustc update, it would complain when 2&3 happend, on this commit :65a4f5896317115cf1edc74800f0da5d92923243, opened neon when fp_smid enable,it broken 2, so it create bug; after return user from kernel trap, usr vfp registers ctx are changed; This commit close neon when complie kernel, taskctx need access VFP registers through build.rs to fix Signed-off-by: guoweikang <[email protected]>
Azure-stars
added a commit
that referenced
this issue
Jul 31, 2024
Guoweikang/aarch64 vfp fix for #16
Azure-stars
pushed a commit
that referenced
this issue
Jul 31, 2024
issue: #16 -------- 1 Exception doesn't save VFP registers 2 kernel generate code shouldn't use VFP registers, need close -neon and -fp-armv8 3 taskctx need save/restore user application VFP ctx, need access VFP registers After rustc update, it would complain when 2&3 happend, on this commit :65a4f5896317115cf1edc74800f0da5d92923243, opened neon when fp_smid enable,it broken 2, so it create bug; after return user from kernel trap, usr vfp registers ctx are changed; This commit close neon when complie kernel, taskctx need access VFP registers through build.rs to fix Signed-off-by: guoweikang <[email protected]>
Azure-stars
pushed a commit
that referenced
this issue
Jul 31, 2024
issue: #16 -------- 1 Exception doesn't save VFP registers 2 kernel generate code shouldn't use VFP registers, need close -neon and -fp-armv8 3 taskctx need save/restore user application VFP ctx, need access VFP registers After rustc update, it would complain when 2&3 happend, on this commit :65a4f5896317115cf1edc74800f0da5d92923243, opened neon when fp_smid enable,it broken 2, so it create bug; after return user from kernel trap, usr vfp registers ctx are changed; This commit close neon when complie kernel, taskctx need access VFP registers through build.rs to fix Signed-off-by: guoweikang <[email protected]>
guoweikang
added a commit
that referenced
this issue
Aug 14, 2024
issue: #16 -------- 1 Exception doesn't save VFP registers 2 kernel generate code shouldn't use VFP registers, need close -neon and -fp-armv8 3 taskctx need save/restore user application VFP ctx, need access VFP registers After rustc update, it would complain when 2&3 happend, on this commit :65a4f5896317115cf1edc74800f0da5d92923243, opened neon when fp_smid enable,it broken 2, so it create bug; after return user from kernel trap, usr vfp registers ctx are changed; This commit close neon when complie kernel, taskctx need access VFP registers through build.rs to fix Signed-off-by: guoweikang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AARCH64 动态库用例失败
郑友捷:
Starry 在65a4f5896317115cf1edc74800f0da5d92923243这次更新中将启用 fp_simd 时的平台更改为 aarch64-unknown-none,原先是aarch64-unknown-none-softfloat,然后导致运行到 memset 的时候 q0 的值发生了变化
但是如果我打开了fp_simd,同时指定了TARGET := aarch64-unknown-none-softfloat,会报这个错误
The text was updated successfully, but these errors were encountered: