diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2011-07-28 20:36:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2011-07-28 13:36:39 -0700 |
commit | 5fce91262c0d0ecedb53090544f227106bf3cbf4 (patch) | |
tree | af46d8b47d9c88b47058a4993a541d9778fbc7a6 | |
parent | f53d712fa9ccac994164e42e463c806c4e25e2e1 (diff) | |
download | gcc-5fce91262c0d0ecedb53090544f227106bf3cbf4.zip gcc-5fce91262c0d0ecedb53090544f227106bf3cbf4.tar.gz gcc-5fce91262c0d0ecedb53090544f227106bf3cbf4.tar.bz2 |
Use long long for 64bit int.
2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
version.
(_FP_WS_TYPE): Likewise.
(_FP_I_TYPE): Likewise.
From-SVN: r176894
-rw-r--r-- | libgcc/ChangeLog | 7 | ||||
-rw-r--r-- | libgcc/config/i386/64/sfp-machine.h | 12 |
2 files changed, 10 insertions, 9 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 49b087d..99235b7 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2010-07-28 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64 + version. + (_FP_WS_TYPE): Likewise. + (_FP_I_TYPE): Likewise. + 2011-07-28 Alan Modra <amodra@gmail.com> * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>): diff --git a/libgcc/config/i386/64/sfp-machine.h b/libgcc/config/i386/64/sfp-machine.h index 5adf6db..5debf5a 100644 --- a/libgcc/config/i386/64/sfp-machine.h +++ b/libgcc/config/i386/64/sfp-machine.h @@ -1,14 +1,8 @@ #define _FP_W_TYPE_SIZE 64 -#ifdef _WIN64 - #define _FP_W_TYPE unsigned long long - #define _FP_WS_TYPE signed long long - #define _FP_I_TYPE long long -#else - #define _FP_W_TYPE unsigned long - #define _FP_WS_TYPE signed long - #define _FP_I_TYPE long -#endif +#define _FP_W_TYPE unsigned long long +#define _FP_WS_TYPE signed long long +#define _FP_I_TYPE long long typedef int TItype __attribute__ ((mode (TI))); typedef unsigned int UTItype __attribute__ ((mode (TI))); |