Add support for Vector context save support on RISC-V#1260
Add support for Vector context save support on RISC-V#1260aggarg merged 4 commits intoFreeRTOS:mainfrom
Conversation
|
Associated PR in FreeRTOS repo FreeRTOS/FreeRTOS#1334 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1260 +/- ##
==========================================
- Coverage 91.59% 91.53% -0.06%
==========================================
Files 6 6
Lines 3259 3261 +2
Branches 902 904 +2
==========================================
Hits 2985 2985
Misses 132 132
- Partials 142 144 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The current context save code clobbers the saved |
|
Thanks for your suggestions @aggarg. I applied your patch. |
|
Thank you @cubidesj ! Please refresh from upstream main branch to enable us to merge this PR. |
|



Save the vector context when changing the task
Description
An approach similar to #1250 has been used:
vl,vtype,vstartandvcsrTest Steps
A separate PR in the FreeRTOS repository will be created. That PR contains an enhanced RegTest that includes the vector registers.
Checklist:
Related Issue
An approach similar to #1250 was followed. I'll link the corresponding PR with the Demo once it is created
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.