[Linux-Xtensa] [COMMITTED 0/2] gcc: xtensa: implement -mabi option

Max Filippov jcmvbkbc at gmail.com
Mon Jun 15 10:44:05 UTC 2020


Hello,

this series implements -mabi option support for xtensa target allowing
to choose between windowed and call0 code generation.

Tested with xtensa-linux-uclibc, both windowed and call0, no new
regression failures. Committed to master.

Max Filippov (2):
  gcc: xtensa: make register elimination data static
  gcc: xtensa: add -mabi option for call0/windowed ABI

 gcc/config/xtensa/elf.h                       |  8 +++--
 gcc/config/xtensa/linux.h                     |  8 +++--
 gcc/config/xtensa/uclinux.h                   |  9 ++++--
 gcc/config/xtensa/xtensa.c                    | 19 ++++++++++++
 gcc/config/xtensa/xtensa.h                    | 29 +++++++++++++------
 gcc/config/xtensa/xtensa.opt                  | 11 +++++++
 gcc/doc/invoke.texi                           | 26 ++++++++++++++++-
 gcc/testsuite/gcc.target/xtensa/mabi-call0.c  | 13 +++++++++
 .../gcc.target/xtensa/mabi-windowed.c         | 13 +++++++++
 libgcc/configure                              | 24 +++++++--------
 libgcc/configure.ac                           | 14 ++++-----
 11 files changed, 137 insertions(+), 37 deletions(-)
 create mode 100644 gcc/testsuite/gcc.target/xtensa/mabi-call0.c
 create mode 100644 gcc/testsuite/gcc.target/xtensa/mabi-windowed.c

-- 
2.20.1



More information about the linux-xtensa mailing list