#| -*-Scheme-*-
-$Id: rulfix.scm,v 1.2 1995/03/16 04:36:29 adams Exp $
+$Id: rulfix.scm,v 1.3 1995/07/27 14:23:08 adams Exp $
Copyright (c) 1989-1994 Massachusetts Institute of Technology
(LAP (COMICLR (=) 0 ,regnum:second-arg 0)))))))
(if (machine-register? target)
(begin
+ (standard-target! target)
(delete-dead-registers!)
(core (copy regnum:first-arg target)))
(begin
#| -*-Scheme-*-
-$Id: rulrew.scm,v 1.4 1995/03/17 03:46:53 adams Exp $
+$Id: rulrew.scm,v 1.5 1995/07/27 14:23:46 adams Exp $
Copyright (c) 1990-1993 Massachusetts Institute of Technology
(rtl:object->address-expression
base*)))))))))))
+(define-rule add-pre-cse-rewriting-rule!
+ ;; Prevent CSE of machine floating point constants with object flonums
+ (OBJECT->FLOAT (REGISTER (? value register-known-value)))
+ (QUALIFIER (and (rtl:constant? value)
+ (flo:flonum? value)))
+ `(OBJECT->FLOAT ,value))
;;
;; (CONS-NON-POINTER (MACHINE-CONSTANT 0)