Changeset 7858


Ignore:
Timestamp:
Dec 9, 2007, 1:51:43 PM (13 years ago)
Author:
gb
Message:

Always use NOPs to pad for alignment. (We might want to align loop
heads and be able to fall in to to the top of the loop; the original
motivation for using (INT ($ 3)) instructions for alignmment padding
had to do with the old tra scheme.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/compiler/X86/x86-lap.lisp

    r7717 r7858  
    12921292               (pad (- nextaddr (+ addr (frag-length frag)))))
    12931293          (unless (eql 0 pad)
    1294             (if (eq (car (frag-type frag)) :talign)
    1295               (frag-emit-nops frag pad)
    1296               (dotimes (i pad) (frag-push-byte frag #xcc)))))))))
     1294            (frag-emit-nops frag pad)))))))
    12971295
    12981296(defun show-frag-bytes (frag-list)
Note: See TracChangeset for help on using the changeset viewer.