Commit 2240120
committed
C backend: inline asm - don't add rsp/esp to the clobber list
- it's deprecated in newer gcc versions and silently ignored in older versions
- gcc requires a valid stack to preserve registers and if the asm code clobbers esp/rsp
then there is no way to get it back after esp/rsp changes to something else.
- User is always responsoble for handling the stack registers.1 parent 44adf4f commit 2240120
2 files changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3572 | 3572 | | |
3573 | 3573 | | |
3574 | 3574 | | |
3575 | | - | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
3576 | 3581 | | |
3577 | 3582 | | |
3578 | 3583 | | |
3579 | 3584 | | |
3580 | 3585 | | |
3581 | | - | |
| 3586 | + | |
3582 | 3587 | | |
3583 | | - | |
| 3588 | + | |
3584 | 3589 | | |
3585 | 3590 | | |
3586 | 3591 | | |
| |||
0 commit comments