Added many rules and fixed bugs.
authorssmith <ssmith>
Wed, 24 May 1995 00:19:54 +0000 (00:19 +0000)
committerssmith <ssmith>
Wed, 24 May 1995 00:19:54 +0000 (00:19 +0000)
v8/src/compiler/machines/i386/rules2.scm

index 282c85e627f5a985a2dd6af331c73fb70ce6e588..3730ad4c332a94ec6513b522a34123a607b02c10 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: rules2.scm,v 1.2 1995/01/20 20:17:17 ssmith Exp $
+$Id: rules2.scm,v 1.3 1995/05/24 00:19:54 ssmith Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -96,14 +96,13 @@ MIT in each case. |#
       (begin
        (set-equal-branches!)
        (LAP (CMP W (R ,(standard-source! source))
-                 (& ,(make-non-pointer-literal (object-type #f)
-                                               (object-datum #f))))))))
+                 (& ,(make-non-pointer-literal (386-object-type #f)
+                                               (386-object-datum #f))))))))
 
 (define-rule predicate
   (PRED-1-ARG NULL? (REGISTER (? source)))
   (set-equal-branches!)
-  (LAP (CMP W (R ,(standard-source! source)) (@RO B ,regnum:regs-pointer
-                                                 ,register-block/empty-list))))
+  (LAP (CMP W (R ,(standard-source! source)) ,(get-regblock-ea register-block/empty-list))))
 
 (define-rule predicate
   (PRED-2-ARGS WORD-LESS-THAN-UNSIGNED?