Re: [C--] Segmentation fault

Norman Ramsey <[email protected]> Mon, 30 Mar 2009 16:33:40 -0400
Newsgroups gmane.comp.lang.c--
Message-ID <[email protected]>
 > What's the maximum supported size of virtual registers? Some x86 
 > compilers store long double as 12 bytes of which only 80 bits are 
 > actually used.   

It's rather embarrassing, but the only thing that works in qc-- larger
than 64 bits is block copy.   We made this decision because our
implementation language, Objective Caml, can support literal constants
only up to 64 bits wide.  It's a restriction we'd like to fix, but it
would be very time-consuming.

 > Can I declare a bits96 register?  

I think you can declare one but not do anything interesting other than
load and store it.

 > How qc-- handle long double? 

Even more embarassing.  On the x86, qc-- does not rely on SSE, so all
floating-point computations are promoted to 80 bits internally and
then truncated.  On other platforms I don't think we support long
double.


Norman

_______________________________________________
Cminusminus mailing list
[email protected]
https://www.eecs.harvard.edu/mailman/listinfo/cminusminus