On Wed, 2022-11-16 at 11:19 +0800, Lulu Cheng wrote: > The "m" constraint is defined as follows: > (define_memory_constraint "m" > (and (match_code "mem") > (match_test "loongarch_12bit_offset_address_p (XEXP (op, 0), > mode)"))) > This setting must be a memory operand. > ''ZD" constraint is a address operand. > I think (mem:mode (address operand)) = memory operand.
Yes they are different. I tried reusing "m" in my previous attempt to add prefetch instruction but it didn't work. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University