Commit a4bc412
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 a4bc412
File tree
5 files changed
+128
-45
lines changed- main
- neon_intrinsics
- tools/intrinsic_db
5 files changed
+128
-45
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
468 | 469 | | |
469 | 470 | | |
470 | 471 | | |
| |||
2207 | 2208 | | |
2208 | 2209 | | |
2209 | 2210 | | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
2210 | 2218 | | |
2211 | 2219 | | |
2212 | 2220 | | |
| |||
2590 | 2598 | | |
2591 | 2599 | | |
2592 | 2600 | | |
| 2601 | + | |
2593 | 2602 | | |
2594 | 2603 | | |
2595 | 2604 | | |
| |||
0 commit comments