> ;;; Compiling (DEF-UTILITY NEG-SS ...).
> 
> Condition of type: SIMPLE-ERROR
> Cannot externalize object #<SSE -0.0 0.0 0.0 0.0>
> Available restarts:

That's probably because of the change below. SSE packs can currently
only be compiled as static constants, and this really should be the
way they are handled: that negation operation is really supposed
to compile down to one XORPS instruction.

As an alternative, if there is a way to fuse the constant with
the unboxing operation, the unboxed value can probably be represented
as an expression using a couple of C intrinsic functions.

Alexander


Author: Juan Jose Garcia Ripoll <jjgar...@users.sourceforge.net>  2011-01-23 
23:43:37

    Do not use static constants when compiling Lisp code other than ECL's core

------------------------------ src/cmp/cmpwt.lsp ------------------------------
index 24eab26..e316dbd 100644
@@ -280,7 +280,9 @@
   nil
   #-:msvc
   ;; FIXME! The Microsoft compiler does not allow static initialization of bit 
fields.
-  (unless (or *compiler-constants* (not (listp *static-constants*)))
+  (unless (or *compiler-constants*
+              (not *use-static-constants-p*)
+              (not (listp *static-constants*)))
     (let ((record (find object *static-constants* :key #'first :test #'equal)))
       (if record
           (second record)



------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to