Commit dbae30d
authored
[LoongArch] Load floating-point immediate using VLDI (llvm#101923)
This commit uses the VLDI instruction to load some common floating-point
constants when the LSX feature is enabled.1 parent e1a16cd commit dbae30d
File tree
4 files changed
+1334
-3845
lines changed- llvm
- lib/Target/LoongArch
- test/CodeGen/LoongArch
4 files changed
+1334
-3845
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5573 | 5573 | | |
5574 | 5574 | | |
5575 | 5575 | | |
| 5576 | + | |
| 5577 | + | |
| 5578 | + | |
| 5579 | + | |
| 5580 | + | |
| 5581 | + | |
| 5582 | + | |
| 5583 | + | |
| 5584 | + | |
| 5585 | + | |
| 5586 | + | |
| 5587 | + | |
| 5588 | + | |
| 5589 | + | |
| 5590 | + | |
| 5591 | + | |
| 5592 | + | |
| 5593 | + | |
5576 | 5594 | | |
5577 | 5595 | | |
5578 | 5596 | | |
5579 | 5597 | | |
5580 | 5598 | | |
5581 | 5599 | | |
5582 | 5600 | | |
5583 | | - | |
| 5601 | + | |
5584 | 5602 | | |
5585 | 5603 | | |
5586 | 5604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
206 | 229 | | |
207 | 230 | | |
208 | 231 | | |
| |||
663 | 686 | | |
664 | 687 | | |
665 | 688 | | |
| 689 | + | |
666 | 690 | | |
| 691 | + | |
667 | 692 | | |
668 | 693 | | |
669 | 694 | | |
| |||
1910 | 1935 | | |
1911 | 1936 | | |
1912 | 1937 | | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
| 1943 | + | |
1913 | 1944 | | |
1914 | 1945 | | |
1915 | 1946 | | |
| |||
0 commit comments