Ticket #608 (closed task: fixed)

Opened 8 years ago

Last modified 4 years ago

Make the NCG able to compile the RTS

Reported by: simonmar Owned by: wolfgang
Priority: normal Milestone:
Component: Compiler Version: None
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Difficult (2-5 days)
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonmar) (diff)

It is almost possible to compile the RTS with the native code generator.  What is missing is support for loops: code generated by GHC doesn't normally contain loops (or rather, loops are explicit as jumps to top-level labels), but the RTS code does contain some loops.  The register allocator in particular will need some work.  

There's nothing fundamentally difficult here, and it doesn't need to do a fantastic job, just a half-decent one.  The code to be compiled in the RTS isn't performance-critical.

Change History

Changed 7 years ago by simonmar

  • difficulty set to Difficult (1 week)
  • os set to Unknown
  • architecture set to Unknown
  • description modified (diff)

Changed 7 years ago by wolfgang

  • owner set to wolfgang
  • status changed from new to assigned

Changed 7 years ago by simonmar

  • status changed from assigned to closed
  • resolution changed from None to fixed

Now done.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple

Changed 4 years ago by simonmar

  • difficulty changed from Difficult (1 week) to Difficult (2-5 days)
Note: See TracTickets for help on using tickets.