I'd like to clarify the meaning of "Intr*Mem" flags used in intrinsics definitions. If an intrinsic does not access memory but read and write control registers, what flag should I apply in this case: IntrNoMem or IntrReadWriteArgMem or nothing? Thanks. -- Simon
On Tue, Jul 17, 2012 at 12:55 PM, Simon Atanasyan <satanasyan at mips.com> wrote:> I'd like to clarify the meaning of "Intr*Mem" flags used in intrinsics > definitions. If an intrinsic does not access memory but read and write > control registers, what flag should I apply in this case: IntrNoMem or > IntrReadWriteArgMem or nothing?Nothing; control registers are still "memory" in the sense of Intr*Mem because they hold state. It doesn't matter that they aren't addressable. -Eli
Possibly Parallel Threads
- [LLVMdev] Incorrect values of GCC/LLC, GCC/LLC-BETA and LLC/LLC-BETA columns in the report.html
- [LLVMdev] Incorrect values of GCC/LLC, GCC/LLC-BETA and LLC/LLC-BETA columns in the report.html
- [LLVMdev] Extending Intrinsic Functions
- attribute of intrinsic function
- attribute of intrinsic function