Commit 2a127a7
committed
[BOLT][AArch64][instr] Remove instructions on saving and restoring NZCV
Remove the `NZCV` save and restore instructions from instrumentation sequence
because the instructions used for getting counter address, counter increment
and stack push/pop won't impact `NZCV`. And with this we can use `X1` to do
counter increment and then the push and pop of `X2` can be removed.1 parent 556ff19 commit 2a127a7
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2517 | 2517 | | |
2518 | 2518 | | |
2519 | 2519 | | |
2520 | | - | |
| 2520 | + | |
2521 | 2521 | | |
2522 | 2522 | | |
2523 | | - | |
2524 | 2523 | | |
2525 | 2524 | | |
2526 | 2525 | | |
2527 | 2526 | | |
2528 | | - | |
2529 | | - | |
| 2527 | + | |
2530 | 2528 | | |
2531 | 2529 | | |
2532 | 2530 | | |
2533 | | - | |
2534 | | - | |
2535 | 2531 | | |
2536 | 2532 | | |
2537 | 2533 | | |
| |||
0 commit comments