Added debug tracing to track down the segment prefix bug. Also added AMD-specific XOP and 3DNow! encoding, but it is totally untested.