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

2020-07-30 Thread Segher Boessenkool
Hi! As I explained in the other mail, please split this into two: one the core thing, adding the flag and all code generation (maybe using some new macros or such for section selection, for example); and the second patch hooking it up and enabling this by default for powerpc64* (or only for powerp

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

2020-07-30 Thread Segher Boessenkool
Hi! On Thu, Jul 30, 2020 at 04:35:57AM -0400, David Edelsohn wrote: > 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 work on all subtargets. It

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

2020-07-30 Thread David Edelsohn via Gcc-patches
On Thu, Jul 30, 2020 at 1:22 AM HAO CHEN GUI 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

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

2020-07-29 Thread HAO CHEN GUI via Gcc-patches
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. Haochen Gui

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

2020-07-28 Thread David Edelsohn via Gcc-patches
On 2020/7/28 下午1:25, HAO CHEN GUI via Gcc-patches wrote: > Hi, > > This patch adds non-relative jump table support for 64bit rs6000. It > implements ASM_OUTPUT_ADDR_VEC_ELT and corresponding expansion of jump table > instruction for 64bit rs6000. We want to put non-relative jump table in > data.

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

2020-07-28 Thread Kewen.Lin via Gcc-patches
Added more CCs. Kewen on 2020/7/28 下午1:25, HAO CHEN GUI via Gcc-patches wrote: > Hi, > > This patch adds non-relative jump table support for 64bit rs6000. It > implements ASM_OUTPUT_ADDR_VEC_ELT and corresponding expansion of jump table > instruction for 64bit rs6000. We want to put non-relati

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

2020-07-27 Thread HAO CHEN GUI via Gcc-patches
Hi, This patch adds non-relative jump table support for 64bit rs6000. It implements ASM_OUTPUT_ADDR_VEC_ELT and corresponding expansion of jump table instruction for 64bit rs6000. We want to put non-relative jump table in data.rel.ro section for rs6000. So I add a new target hook - TARGET_ASM