[PATCH, rs6000] Add non-relative jump table support for 64bit rs6000

David Edelsohn dje.gcc@gmail.com
Thu Jul 30 08:35:57 GMT 2020


On Thu, Jul 30, 2020 at 1:22 AM HAO CHEN GUI <guihaoc@linux.ibm.com> wrote:
>
> David,
>
> Seems there is something wrong with my email box.  I lost your email. I
> reconfigured the box and it should be OK now.
>
> Could you inform me how to exclude AIX from the condition testing? By
> the ABI? Thanks a lot.

The purpose should not be to exclude AIX.  If there is no fundamental
limitation with use of the new tablejump design on AIX then the patch
is not acceptable without AIX support.

The patch should use DOUBLE_INT_ASM_OP, not explicit ".quad".  AIX
always is PIC.  It's not obvious to me why the patch should limit
support to PPC64 Linux.  The section selection seems Linux/ELF
specific, but the rest seems like a general design optimization for
all PowerPC-based operating systems.

If you have questions about AIX details, that's fine. But limiting the
implementation to Linux is not acceptable.  All other ISA and
optimization features added to GCC that are supported on all OSes are
implemented on all OSes.  This tablejump change should be no
different.

Thanks, David


Thanks, David


Thanks, David


More information about the Gcc-patches mailing list