- fixed a few typos, disabled debugging in assembler-output, fixed

condition printing
This commit is contained in:
Abdulaziz Ghuloum 2008-11-21 05:19:01 -05:00
parent 020807ac06
commit f216ed5893
4 changed files with 5 additions and 6 deletions

View File

@ -367,7 +367,7 @@
(display (vector-ref v i) p)
(display ": " p)
(write ((record-accessor rtd i) x) p)
(newline)
(newline p)
(f (+ i 1) rtd v))))
rf)])))
(define (print-condition x p)

View File

@ -672,7 +672,6 @@
[(and (mem? src) (reg? dst)) (CR* #x8D dst src ac)]
[else (die who "invalid" instr)])]
[(cmpl src dst)
(trace-ac ac `(cmpl ,src ,dst)
(cond
[(and (imm8? src) (reg? dst)) (CR* #x83 '/7 dst (IMM8 src ac))]
[(and (imm32? src) (eq? dst '%eax)) (C #x3D (IMM32 src ac))]
@ -681,7 +680,7 @@
[(and (mem? src) (reg? dst)) (CR* #x3B dst src ac)]
[(and (imm8? src) (mem? dst)) (CR* #x83 '/7 dst (IMM8 src ac))]
[(and (imm32? src) (mem? dst)) (CR* #x81 '/7 dst (IMM32 src ac))]
[else (die who "invalid" instr)]))]
[else (die who "invalid" instr)])]
[(imull src dst)
(cond
[(and (imm8? src) (reg? dst)) (CR* #x6B dst dst (IMM8 src ac))]

View File

@ -1 +1 @@
1686
1687

View File

@ -213,7 +213,7 @@
(let ((file-name ((file-locator) x)))
(cond
((not file-name)
(assertion-violation #f "cannot file library" x))
(assertion-violation #f "cannot find library" x))
((try-load-from-file file-name))
(else
((current-library-expander)