Add intrinsic calls to Hercules IR
2 unresolved threads
2 unresolved threads
- Add new intrinsic node (with parsing and dumping)
- Add type checking and constant propagation rules for intrinsics
Merge request reports
Activity
requested review from @rarbore2
We should probably actually create a good set of intrinsics before merging, rather than just sqrt. Any thoughts?
Edited by Aaron Councilmanadded 6 commits
-
345cdd59...bf1b9c90 - 2 commits from branch
main
- 371204c3 - Start adding more intrinsics
- a43b5014 - Merge branch 'juno-fix' into hercules-intrinsics
- fba27e75 - Finish CCP for intrinsics
- fbdfe02e - Merge branch 'main' into hercules-intrinsics
Toggle commit list-
345cdd59...bf1b9c90 - 2 commits from branch
264 pub enum Intrinsic { 265 Abs, 266 ACos, 267 ACosh, 268 ASin, 269 ASinh, 270 ATan, 271 ATan2, 272 ATanh, 273 Cbrt, // Cube root 274 Ceil, 275 Cos, 276 Cosh, 277 Exp, // e^x 278 Exp2, // 2^x 279 ExpM1, // e^x - 1 changed this line in version 9 of the diff
added 2 commits
mentioned in commit 5e26d102
Please register or sign in to reply