On Wed, May 27, 2026 at 11:03 AM Hongyu Wang <[email protected]> wrote: > > Hi, > > For processors like Novalake with APX, benchmark shows memory form of > NDD instructions is not beneficial. A new tuning enable_ndd_mem is > added and disabled by default. The new isa attributes apx_ndd_mem > and apx_ndd_64_mem are adopted for memory-operand alternatives for NDD > related patterns, and enabled attr is dispatched to control the > generation of NDD memory form.
Perhaps you should use preferred_for_speed/preferred_for_size attributes instead of hard-disabling relevant alternatives? It looks that move+insn is still larger than insn with memory op, so the latter would be preferred for cold sections. Please see many examples in i386.md. Uros.
