Title: The optimization of horizontal microcode within and beyond basic blocks: an application of processor scheduling with resources