Opened 12 years ago

Closed 11 years ago

Last modified 7 years ago

#608 closed task (fixed)

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: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by simonmar)

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 (6)

comment:1 Changed 11 years ago by simonmar

Architecture: Unknown
Description: modified (diff)
difficulty: Difficult (1 week)
Operating System: Unknown

comment:2 Changed 11 years ago by wolfgang

Owner: set to wolfgang
Status: newassigned

comment:3 Changed 11 years ago by simonmar

Resolution: Nonefixed
Status: assignedclosed

Now done.

comment:4 Changed 8 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 8 years ago by simonmar

Operating System: UnknownUnknown/Multiple

comment:6 Changed 7 years ago by simonmar

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