This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: SSE types and structures


On Thu, Jun 13, 2002 at 07:17:48PM +0200, Jan Hubicka wrote:
> ! #define ADJUST_FIELD_ALIGN(FIELD, COMPUTED) \
> !   (!TARGET_64BIT && !TARGET_ALIGN_DOUBLE && !DECL_USER_ALIGN (FIELD) \
> !    && TYPE_MODE (TREE_CODE (TREE_TYPE (FIELD)) == ARRAY_TYPE \
> ! 		 ? get_inner_array_type (FIELD) \
> ! 		 : TREE_TYPE (FIELD)) == DFmode \
> !    ? MIN ((COMPUTED), 32) : COMPUTED)

You don't care for XFmode/TFmode.

You should probably look at TREE_CODE == REAL_TYPE and 
COMPLEX_TYPE instead of TYPE_MODE.

What sort of compatibility testing has this received?


r~


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