Commit f5a9cc6
gh-142342: Fix m68k assembler operand constraints for %fpcr access
On m68k, an fmove instruction accessing %fpcr may only move from
or to a data register or a memory operand. The constraint "g" also
permits the use of address registers, which is invalid. The correct
constraint is "dm". Beginning with GCC 15, the register allocator
picks an address register in the code which causes SIGILL during
runtime.
Co-authored-by: Michael Karcher <[email protected]>1 parent d119443 commit f5a9cc6
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6126 | 6126 | | |
6127 | 6127 | | |
6128 | 6128 | | |
6129 | | - | |
6130 | | - | |
| 6129 | + | |
| 6130 | + | |
6131 | 6131 | | |
6132 | 6132 | | |
6133 | 6133 | | |
| |||
0 commit comments