]> gcc.gnu.org Git - gcc.git/commit
gcc: xtensa: add -m[no-]strict-align option
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 28 Feb 2023 13:46:29 +0000 (05:46 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 19 Apr 2023 19:39:10 +0000 (12:39 -0700)
commit675b390e6d037c035ed3be9aca03de3b0f0549f4
treeeb5f08a79a631e14a68eff88a3778598bc7c6892
parentec9b30879890f70266dda7f9c853f48b22a9fd50
gcc: xtensa: add -m[no-]strict-align option

gcc/
* config/xtensa/xtensa-opts.h: New header.
* config/xtensa/xtensa.h (STRICT_ALIGNMENT): Redefine as
xtensa_strict_align.
* config/xtensa/xtensa.cc (xtensa_option_override): When
-m[no-]strict-align is not specified in the command line set
xtensa_strict_align to 0 if the hardware supports both unaligned
loads and stores or to 1 otherwise.
* config/xtensa/xtensa.opt (mstrict-align): New option.
* doc/invoke.texi (Xtensa Options): Document -m[no-]strict-align.
gcc/config/xtensa/xtensa-opts.h [new file with mode: 0644]
gcc/config/xtensa/xtensa.cc
gcc/config/xtensa/xtensa.h
gcc/config/xtensa/xtensa.opt
gcc/doc/invoke.texi
This page took 0.062174 seconds and 5 git commands to generate.