comparison src/share/vm/utilities/globalDefinitions_xlc.hpp @ 22888:aefa2e84b424

8074869: C2 code generator can replace -0.0f with +0.0f on Linux Summary: Instead of 'fpclass', use cast float->int and double->long to check if value is +0.0f and +0.0d, respectively. Reviewed-by: kvn, simonis, dlong
author zmajo
date Thu, 19 Mar 2015 19:53:34 +0100
parents b6a8cc1e0d92
children
comparison
equal deleted inserted replaced
22887:10c237e58446 22888:aefa2e84b424
39 #include <stdio.h> 39 #include <stdio.h>
40 #include <stdlib.h> 40 #include <stdlib.h>
41 #include <wchar.h> 41 #include <wchar.h>
42 42
43 #include <math.h> 43 #include <math.h>
44 #ifndef FP_PZERO
45 // Linux doesn't have positive/negative zero
46 #define FP_PZERO FP_ZERO
47 #endif
48 #if (!defined fpclass)
49 #define fpclass fpclassify
50 #endif
51
52 #include <time.h> 44 #include <time.h>
53 #include <fcntl.h> 45 #include <fcntl.h>
54 #include <dlfcn.h> 46 #include <dlfcn.h>
55 #include <pthread.h> 47 #include <pthread.h>
56 48