\f
(define (load-signed-immediate target value)
(cond ((zero? value)
- (LAP (XOR Q ,target ,target)))
+ ;; This zeros the upper half of the target, and is a shorter
+ ;; instruction than (XOR Q ...).
+ (LAP (XOR L ,target ,target)))
((fits-in-signed-quad? value)
(LAP (MOV Q ,target (& ,value))))
(else
(define (load-unsigned-immediate target value)
(cond ((zero? value)
- (LAP (XOR Q ,target ,target)))
+ ;; This zeros the upper half of the target, and is a shorter
+ ;; instruction than (XOR Q ...).
+ (LAP (XOR L ,target ,target)))
((fits-in-unsigned-quad? value)
(LAP (MOV Q ,target (&U ,value))))
(else