Commit 04974c5
arm64: add fsqrt / fneg / fabs (FP data-processing, 1 source)
The macro only had the two-operand FP arithmetic (fadd/fsub/fmul/fdiv);
add the single-source double-precision ops fabs (0x1e60c000), fneg
(0x1e614000) and fsqrt (0x1e61c000). Same 2-register (Rd, Rn) shape as the
D-D fmov, encoded via emit_rr. Needed to inline Math.sqrt on AArch64.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 0d1129d commit 04974c5
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
338 | 340 | | |
339 | 341 | | |
340 | 342 | | |
| |||
552 | 554 | | |
553 | 555 | | |
554 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
555 | 562 | | |
556 | 563 | | |
557 | 564 | | |
| |||
1138 | 1145 | | |
1139 | 1146 | | |
1140 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1141 | 1160 | | |
1142 | 1161 | | |
1143 | 1162 | | |
| |||
0 commit comments