projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01cc13c
)
Adjust SETcc instruction encoding on x86-64.
author
Stas Boukarev
<stassats@gmail.com>
Sat, 7 Sep 2013 05:48:35 +0000
(09:48 +0400)
committer
Stas Boukarev
<stassats@gmail.com>
Sat, 7 Sep 2013 05:48:35 +0000
(09:48 +0400)
Avoid emitting REX for legacy registers.
src/compiler/x86-64/insts.lisp
patch
|
blob
|
history
diff --git
a/src/compiler/x86-64/insts.lisp
b/src/compiler/x86-64/insts.lisp
index
442c485
..
554cb52
100644
(file)
--- a/
src/compiler/x86-64/insts.lisp
+++ b/
src/compiler/x86-64/insts.lisp
@@
-2752,7
+2752,7
@@
(define-instruction set (segment dst cond)
(:printer cond-set ())
(:emitter
- (maybe-emit-rex-for-ea segment dst nil)
+ (maybe-emit-rex-for-ea segment dst nil :operand-size :byte)
(emit-byte segment #b00001111)
(emit-byte segment (dpb (conditional-opcode cond) (byte 4 0) #b10010000))
(emit-ea segment dst #b000)))