Commit 4dbaa35
committed
Add intrinsics for the new FP conversions introduced by the 2024 dpISA
FEAT_FPRCVT adds 4 new variants for each FCVTAS, FCVTAU, FCVTMS, FCVTMU,
FCVTNS, FCVTNU, FCVTPS, FCVTPU, FCVTZS, and FCVTZU instruction.
1) Half Precision to 32-bit
2) Half Precision to 64-bit
3) Single Precision to 64-bit
4) Double Precision to 32-bit
For the Single Precision to 64-bit and Double Precision to 32-bit variants,
this patch adds two new intrinsics, that reduce to
- Single Precision to 64-bit : <INST> Dd,Sn
- Double Precision to 32-bit : <INST> Sd,Dn
The intrinsics for conversions from Half Precision are already defined.
However they are documented as reducing to the incorrect instruction format;
<INST> Hd,Hn, so this patch fixes them to be
- Half Precision to 32-bit : <INST> Sd,Hn
- Half Precision to 64-bit : <INST> Dd,Hn1 parent d294acf commit 4dbaa35
File tree
5 files changed
+130
-45
lines changed- main
- neon_intrinsics
- tools/intrinsic_db
5 files changed
+130
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
464 | 467 | | |
465 | 468 | | |
466 | 469 | | |
| |||
2207 | 2210 | | |
2208 | 2211 | | |
2209 | 2212 | | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
2210 | 2220 | | |
2211 | 2221 | | |
2212 | 2222 | | |
| |||
2590 | 2600 | | |
2591 | 2601 | | |
2592 | 2602 | | |
| 2603 | + | |
2593 | 2604 | | |
2594 | 2605 | | |
2595 | 2606 | | |
| |||
0 commit comments