On 8/21/2023 2:41 PM, Jeff Law via Gcc-patches wrote:


On 8/21/23 10:51, Edwin Lu wrote:
@@ -77,4 +78,4 @@ (define_insn "atomic_store_ztso<mode>"
        return "s<amo>\t%z1,%0";
    }
    [(set_attr "type" "atomic")
-   (set (attr "length") (const_int 8))])
\ No newline at end of file
+   (set (attr "length") (const_int 8))])
This raises a question.  We're likely better off using "multi" for a define_insn which generates multiple instructions.

That makes sense to me.


Can you respin changing atomic to multi for those cases where we're generating more than one instruction out of a define_insn?

Thanks for the feedback! I'll update those instructions with "multi".

Edwin Lu

Reply via email to