From: Nathan Froyd Date: Wed, 31 May 2006 02:26:34 +0000 (+0000) Subject: 0.9.13.11: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=aab1fc558ac24296a3e8d6184ed18afaf3e3c5d1;p=sbcl.git 0.9.13.11: Merge "Patch: A code size microoptimization for x86-64 and x86 (EMIT-EA)" from Lutz Euler, sbcl-devel, 2006-28-05. --- diff --git a/src/compiler/x86-64/insts.lisp b/src/compiler/x86-64/insts.lisp index 73ca2ef..ef5b416 100644 --- a/src/compiler/x86-64/insts.lisp +++ b/src/compiler/x86-64/insts.lisp @@ -1195,7 +1195,7 @@ (stack ;; Convert stack tns into an index off RBP. (let ((disp (- (* (1+ (tn-offset thing)) n-word-bytes)))) - (cond ((< -128 disp 127) + (cond ((<= -128 disp 127) (emit-mod-reg-r/m-byte segment #b01 reg #b101) (emit-byte segment disp)) (t diff --git a/src/compiler/x86/insts.lisp b/src/compiler/x86/insts.lisp index ea56bf5..e823a2a 100644 --- a/src/compiler/x86/insts.lisp +++ b/src/compiler/x86/insts.lisp @@ -729,7 +729,7 @@ (stack ;; Convert stack tns into an index off of EBP. (let ((disp (- (* (1+ (tn-offset thing)) n-word-bytes)))) - (cond ((< -128 disp 127) + (cond ((<= -128 disp 127) (emit-mod-reg-r/m-byte segment #b01 reg #b101) (emit-byte segment disp)) (t diff --git a/version.lisp-expr b/version.lisp-expr index 639cf19..5cf5787 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.9.13.10" +"0.9.13.11"