Disclosed are embodiments of a compiler, methods, and system for
resource-aware scheduling of instructions. A list scheduling approach is
augmented to take into account resource constraints when determining
priority for scheduling of instructions. Other embodiments are also
described and claimed.