News for hackers. Stuff that matters.
Re:CPU registers and OCaml by cosmicexplorer on Sunday June 21, 2015 @12:32PM (#9753977)
Is there not like a "-O3" option to try aggressive code manipulation like that? Or is moving code around just not done at all because it's difficult to do correctly?
Re:CPU registers and OCaml by pcwalton on Sunday June 21, 2015 @12:45PM (#9754025)
I think rematerialization covers most of the cases in which you would benefit from doing that (such as ax and xx), and rematting is standard in advanced compilers like GCC/LLVM.