CS 573

Homework 1

Due Friday, February 13, 2004

  1. Consider the following sequence of C code:

    a = b * 2;
    c = a * 4;
    b = b - d;
    if (a < b)
        d = c + 5;
    else
        d = b - 4;
    

    Generate optimal pseudo-assembly code (in the sense of executing as quickly as possible) for (1) an Alpha and (2) an IA-64-style style computer, assuming:

    In the case of IA-64, you may also assume:

  2. Write a one-page paper comparing the Alpha to the IA-64 approaches to developing a 64-bit architecture while maintaining an existing customer base.


Last modified: Fri Feb 6 08:12:39 MST 2004