Commit 924fc4f
committed
armv8-m: Modify ARMv8-M registers stacking procedure
ARMv8-M TrustZone variant registers stacking
procedure is modified to be consistent with the NTZ port
variant where one `stmdb` instruction is used instead of
using 'subs' instruction along with `stmia` instruction, also,
this result in more efficient context switching
handling (lower latency).
Signed-off-by: Ahmed Ismail <[email protected]>1 parent aef2d3d commit 924fc4f
File tree
10 files changed
+60
-130
lines changed- portable
- ARMv8M/non_secure/portable
- GCC/ARM_CM33
- IAR/ARM_CM33
- GCC
- ARM_CM33/non_secure
- ARM_CM35P/non_secure
- ARM_CM55/non_secure
- ARM_CM85/non_secure
- IAR
- ARM_CM33/non_secure
- ARM_CM35P/non_secure
- ARM_CM55/non_secure
- ARM_CM85/non_secure
10 files changed
+60
-130
lines changedLines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | | - | |
| 424 | + | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
433 | | - | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
443 | 434 | | |
444 | 435 | | |
445 | | - | |
446 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
447 | 440 | | |
448 | 441 | | |
449 | 442 | | |
| |||
Lines changed: 6 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | 384 | | |
389 | 385 | | |
390 | | - | |
| 386 | + | |
391 | 387 | | |
392 | 388 | | |
393 | 389 | | |
394 | | - | |
395 | | - | |
396 | 390 | | |
397 | 391 | | |
398 | 392 | | |
399 | 393 | | |
400 | 394 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 395 | + | |
405 | 396 | | |
406 | 397 | | |
407 | | - | |
408 | | - | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
409 | 402 | | |
410 | 403 | | |
411 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | | - | |
| 424 | + | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
433 | | - | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
443 | 434 | | |
444 | 435 | | |
445 | | - | |
446 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
447 | 440 | | |
448 | 441 | | |
449 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | | - | |
| 424 | + | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
433 | | - | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
443 | 434 | | |
444 | 435 | | |
445 | | - | |
446 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
447 | 440 | | |
448 | 441 | | |
449 | 442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 422 | | |
427 | 423 | | |
428 | | - | |
| 424 | + | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
433 | | - | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | 431 | | |
438 | 432 | | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 433 | + | |
443 | 434 | | |
444 | 435 | | |
445 | | - | |
446 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
447 | 440 | | |
448 | 441 | | |
449 | 442 | | |
| |||
0 commit comments