Re: [PATCH] i386: Use macro to wrap up share builtin exceptions in builtin isa check

2023-04-18 Thread Hongtao Liu via Gcc-patches
On Tue, Apr 18, 2023 at 2:57 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > Currently in i386, we have several ISAs share builtin between each other > which is handled in ix86_check_builtin_isa_match with if condition clauses. > > The patterns for these clauses are quite similar so it wil

[PATCH] i386: Use macro to wrap up share builtin exceptions in builtin isa check

2023-04-17 Thread Haochen Jiang via Gcc-patches
Hi all, Currently in i386, we have several ISAs share builtin between each other which is handled in ix86_check_builtin_isa_match with if condition clauses. The patterns for these clauses are quite similar so it will be more friendly for developers if we rewrite them as a macro. This patch adds