This is the mail archive of the gcc-patches@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]

Renaming -mshort-load-bytes


Hi Richard,

  I have decided that it is time I got around to fixing the
  -mshort-load-bytes and -mshort-load-words switches for the ARM
  toolchain.  I have just been tripped up by them in another customer
  PR and I am fed up with it.  So here is what I propose:

  Replace both switches with just one switch:

    -mno-unaligned-word-loads

  Obviously the old switches would still be recognised, but they would
  no longer be documented.

  Internally the macro TARGET_SHORT_BY_BYTES would also be replaced by
  TARGET_ALLOW_UNALIGNED_WORD_LOADS (which would be the inverse of the
  switch above).

  What do you think ?  Is this the way to go ?

Cheers
	Nick


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