From aab1fc558ac24296a3e8d6184ed18afaf3e3c5d1 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Wed, 31 May 2006 02:26:34 +0000 Subject: [PATCH] 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. --- src/compiler/x86-64/insts.lisp | 2 +- src/compiler/x86/insts.lisp | 2 +- version.lisp-expr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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" -- 1.7.10.4