On Wed, 14 Apr 2021 at 22:54, Joseph Myers <[email protected]> wrote: > > On Wed, 14 Apr 2021, pawel k. via Gcc wrote: > > > My best guess is if we could hookify all target code everything callable > > either from frontends or midend, we could try to severly cut this estimate. > > That's a 700-patch series (there are about 700 target macros). For every > target macro, it's necessary to work out the corresponding target hook > interface, which shouldn't always correspond one-to-one to the macro > interface (and hooks have well-defined argument types, which macros don't > always), and deal with the conversion, covering all the irregular ways in > which different targets define the macros (including e.g. cases where some > architectures define a target macro differently for different target > OSes). Joseph has articulately summarized the process in this thread on target macro conversion: https://gcc.gnu.org/pipermail/gcc/2015-February/216586.html
Thanks, Prathamesh > > -- > Joseph S. Myers > [email protected]
