This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: machmode.h



> Although those new warnings emitted now will be tough to get rid of
> for the larger modes (> HOST_BITS_PER_WIDE_INT) without some clever
> preprocessing directives.

Would this help?

*** rtl.c	1998/10/01 16:47:38	1.20
--- rtl.c	1998/10/03 20:48:39
*************** unsigned char mode_wider_mode[(int) MAX_
*** 118,124 ****
  #undef DEF_MACHMODE
  
  #define DEF_MACHMODE(SYM, NAME, CLASS, SIZE, UNIT, WIDER)  \
!   ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << (SIZE) * BITS_PER_UNIT) - 1,
  
  /* Indexed by machine mode, gives mask of significant bits in mode.  */
  
--- 118,124 ----
  #undef DEF_MACHMODE
  
  #define DEF_MACHMODE(SYM, NAME, CLASS, SIZE, UNIT, WIDER)  \
!   ((SIZE) * BITS_PER_UNIT >= HOST_BITS_PER_WIDE_INT) ? ~(unsigned HOST_WIDE_INT)0 : ((unsigned HOST_WIDE_INT) 1 << ((SIZE) * BITS_PER_UNIT & (HOST_BITS_PER_WIDE_INT - 1))) - 1,
  
  /* Indexed by machine mode, gives mask of significant bits in mode.  */
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]