[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hatari-devel] Re: [issue18062] m68k FPU precision issue



Hi,

On torstai 30 toukokuu 2013, Thomas Huth wrote:
> Does it make a difference when you set USE_LONG_DOUBLE to 1 in
> src/cpu/newcpu.h of the Hatari sources?

No, result is exactly the same as with it set to 0.


	- Eero

PS. that option gives quite a lot of warnings, so I'm not sure
whether it even builds fully working code:
src/cpu/newcpu.c: In function ‘m68k_dumpstate’:                                                                                               
src/cpu/newcpu.c:4165: warning: format ‘%g’ expects type ‘double’, but 
argument 4 has type ‘fptype’
[ 28%] Building C object src/cpu/CMakeFiles/UaeCpu.dir/fpp.c.o
src/cpu/fpp.c: In function ‘save_fpu’:                                                                                                        
src/cpu/md-fpp.h:41: warning: dereferencing pointer ‘longarray’ does break 
strict-aliasing rules
src/cpu/md-fpp.h:37: note: initialized from here
src/cpu/md-fpp.h:39: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:39: note: initialized from here
src/cpu/md-fpp.h:40: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:40: note: initialized from here
src/cpu/fpp.c: In function ‘fpuop_arithmetic’:
src/cpu/md-fpp.h:41: warning: dereferencing pointer ‘longarray’ does break 
strict-aliasing rules
src/cpu/md-fpp.h:37: note: initialized from here
src/cpu/md-fpp.h:39: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:39: note: initialized from here
src/cpu/md-fpp.h:40: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:40: note: initialized from here
src/cpu/md-fpp.h:41: warning: dereferencing pointer ‘longarray’ does break 
strict-aliasing rules
src/cpu/md-fpp.h:37: note: initialized from here
src/cpu/md-fpp.h:39: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:39: note: initialized from here
src/cpu/md-fpp.h:40: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:40: note: initialized from here
src/cpu/md-fpp.h:41: warning: dereferencing pointer ‘longarray’ does break 
strict-aliasing rules
src/cpu/md-fpp.h:37: note: initialized from here
src/cpu/md-fpp.h:39: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:39: note: initialized from here
src/cpu/md-fpp.h:40: warning: dereferencing pointer ‘({anonymous})’ does 
break strict-aliasing rules
src/cpu/md-fpp.h:40: note: initialized from here


Reply to: