[movitz-cvs] CVS movitz
ffjeld
ffjeld at common-lisp.net
Tue Jan 29 22:09:05 UTC 2008
Update of /project/movitz/cvsroot/movitz
In directory clnet:/tmp/cvs-serv22399
Modified Files:
asm-x86.lisp
Log Message:
Macro encoded-result is used no more.
--- /project/movitz/cvsroot/movitz/asm-x86.lisp 2008/01/29 22:04:34 1.8
+++ /project/movitz/cvsroot/movitz/asm-x86.lisp 2008/01/29 22:09:05 1.9
@@ -6,7 +6,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Distribution: See the accompanying file COPYING.
;;;;
-;;;; $Id: asm-x86.lisp,v 1.8 2008/01/29 22:04:34 ffjeld Exp $
+;;;; $Id: asm-x86.lisp,v 1.9 2008/01/29 22:09:05 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -237,7 +237,8 @@
(default-rex nil))
(declare (ignorable operator-mode default-rex))
(macrolet ((yield (&rest args)
- `(encoded-result :operand-size 8 , at args)))
+ `(return-from operator
+ (encode (encoded-values :operand-size operator-mode , at args)))))
, at body))))
(defmacro define-operator/16 (operator lambda-list &body body)
@@ -246,7 +247,8 @@
(default-rex nil))
(declare (ignorable operator-mode default-rex))
(macrolet ((yield (&rest args)
- `(encoded-result :operand-size operator-mode , at args)))
+ `(return-from operator
+ (encode (encoded-values :operand-size operator-mode , at args)))))
, at body))))
(defmacro define-operator/32 (operator lambda-list &body body)
@@ -255,7 +257,8 @@
(default-rex nil))
(declare (ignorable operator-mode default-rex))
(macrolet ((yield (&rest args)
- `(encoded-result :operand-size operator-mode , at args)))
+ `(return-from operator
+ (encode (encoded-values :operand-size operator-mode , at args)))))
, at body))))
(defmacro define-operator/64 (operator lambda-list &body body)
@@ -264,7 +267,8 @@
(default-rex '(:rex.w)))
(declare (ignorable operator-mode default-rex))
(macrolet ((yield (&rest args)
- `(encoded-result :operand-size operator-mode , at args)))
+ `(return-from operator
+ (encode (encoded-values :operand-size operator-mode , at args)))))
, at body))))
(defmacro define-operator/64* (operator lambda-list &body body)
@@ -633,11 +637,6 @@
)))))))))))
-
-;; (defmacro encoded-result (&rest args &key prefixes prefix rex opcode mod reg rm scale index base displacement immediate operand-size address-size)
-;; (declare (ignore prefixes prefix rex opcode mod reg rm scale index base displacement immediate operand-size address-size))
-;; `(return-from operator (encoded-values , at args)))
-
(defmacro return-when (form)
`(let ((x ,form))
(when x (return-from operator x))))
More information about the Movitz-cvs
mailing list