Commit d508f0c
authored
[AArch64] Fix FPMR handling when switching streaming mode (#135827)
According to the
[documentation](https://developer.arm.com/documentation/ddi0601/latest/AArch64-Registers/FPMR--Floating-point-Mode-Register),
the FPMR register is set to 0 when entering or exiting streaming mode.
This patch models that behavior by adding FPMR as an implicit def to the
instructions used for entering and exiting streaming mode.1 parent 3d7e56f commit d508f0c
File tree
2 files changed
+26
-0
lines changed- llvm
- lib/Target/AArch64
- test/CodeGen/AArch64
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8882 | 8882 | | |
8883 | 8883 | | |
8884 | 8884 | | |
| 8885 | + | |
8885 | 8886 | | |
8886 | 8887 | | |
8887 | 8888 | | |
8888 | 8889 | | |
8889 | 8890 | | |
8890 | 8891 | | |
| 8892 | + | |
| 8893 | + | |
8891 | 8894 | | |
8892 | 8895 | | |
8893 | 8896 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments