Raymond Toy pushed to branch rtoy-amd64-p1 at cmucl / cmucl
Commits:
-
4f8e35c9
by Raymond Toy at 2020-08-15T10:36:10-07:00
-
b626b6ff
by Raymond Toy at 2020-08-16T12:14:13-07:00
1 changed file:
Changes:
... | ... | @@ -150,7 +150,7 @@ |
150 | 150 |
(etypecase thing
|
151 | 151 |
(tn
|
152 | 152 |
(ecase (sb-name (sc-sb (tn-sc thing)))
|
153 |
- (registers
|
|
153 |
+ ((registers float-registers)
|
|
154 | 154 |
(emit-mod-reg-r/m-byte segment #b11 reg (reg-lower-3-bits thing)))
|
155 | 155 |
(stack
|
156 | 156 |
;; Convert stack tns into an index off of RBP.
|
... | ... | @@ -188,9 +188,15 @@ |
188 | 188 |
(let ((ss (1- (integer-length scale)))
|
189 | 189 |
(index (if (null index)
|
190 | 190 |
#b100
|
191 |
+ ;; FIXME: We're going to assume this is ok
|
|
192 |
+ ;; for now because we emitted an appropriate
|
|
193 |
+ ;; REX prefix already to allow using R12
|
|
194 |
+ ;; here.
|
|
195 |
+ #+nil
|
|
191 | 196 |
(if (= (reg-tn-encoding index) #b100)
|
192 | 197 |
(error "Can't index off of RSP")
|
193 |
- (reg-lower-3-bits index))))
|
|
198 |
+ (reg-lower-3-bits index))
|
|
199 |
+ (reg-lower-3-bits index)))
|
|
194 | 200 |
(base (if (null base)
|
195 | 201 |
#b101
|
196 | 202 |
(reg-lower-3-bits base))))
|