Ignore:
Timestamp:
Aug 26, 2010, 3:23:35 PM (9 years ago)
Author:
gb
Message:

Don't "naturally" align a record field if the field type's natural
alignment is greater than the word size (unless the ftd has a
:natural-alignment attribute.)

The ARM always aligns fields on natural boundaries; PPC32 and X8632
don't. (In other words, this has been wrong for years.)

If we ever support (SIMD) vector types, this'll have to be revisited.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/compiler/ARM/arm-backend.lisp

    r14171 r14222  
    286286                                         :signed-char t
    287287                                         :struct-by-value t
     288                                         :natural-alignment t
    288289                                         :prepend-underscore nil)
    289290                           :ff-call-expand-function
     
    301302                           :attributes '(:bits-per-word  32
    302303                                         :signed-char nil
     304                                         :natural-alignment t
    303305                                         :struct-by-value t)
    304306                           :ff-call-expand-function
Note: See TracChangeset for help on using the changeset viewer.