This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Renaming -mshort-load-bytes
- To: rearnshaw at cambridge dot arm dot com
- Subject: Renaming -mshort-load-bytes
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Fri, 19 Nov 1999 17:21:51 GMT
- Cc: Philip dot Blundell at pobox dot com, gcc-patches at gcc dot gnu dot org
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