mgrang added a comment.

Hi Tim/Renato,

On a similar note, I have a patch which adds the breakpoint intrinsic (for ARM 
and Thumb):
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491c/CJAHBCFH.html

Could you please let me know if this is something which the community would 
like to support. I can then push my patch.

Here are two other intrinsics which I wanted to implement:
enable_irq: 
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472m/chr1359124996163.html
disable_irq: 
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472m/chr1359125001077.html

The use case for these intrinsics is a customer who makes calls to 
__builtin_arm_breakpoint (and others) in their code base. Currently they 
compile with ARMCC, but LLVM does not have these intrinsics. So porting the 
code to build with LLVM becomes a hassle.
To facilitate customers to switch to LLVM we wanted to implement these 
intrinsics.

Thanks,
Mandeep


http://reviews.llvm.org/D22254



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to