On 11/13/22 16:05, Christoph Muellner wrote:
From: Christoph Müllner <christoph.muell...@vrull.eu>

INSNs are usually postfixed by a number representing the argument count.
Given the instructions will be used in a later commit, let's make them
visible, but add a "riscv_" prefix to avoid conflicts with standard
INSNs.

gcc/ChangeLog:

        * config/riscv/bitmanip.md (*<optab>_not<mode>): Rename INSN.
        (riscv_<optab>_not<mode>3): Rename INSN.
        (*xor_not<mode>): Rename INSN.
        (xor_not<mode>3): Rename INSN.

Not strictly necessary, but given how often I've seen ports expose an insn with a standard name, but ever so slightly different semantics and the ensuing code correctness issues, I like the idea of prefixing.


OK

jeff


Reply via email to