[PATCH] CodeGen: implement __emit and __yield intrinsics
Tim Northover
t.p.northover at gmail.com
Thu Apr 24 11:49:50 PDT 2014
Hi Reid,
On 24 April 2014 19:41, Saleem Abdulrasool <abdulras at fb.com> wrote:
> This adds the __emit and __yield ARM intrinsics. This is mostly for MSVC
> compatibility, although the ARM toolchain also supports this intrinsics.
__yield has the blessing of the ACLE, so it should be reasonably
simple to get added. But it should be done via an LLVM intrinsic
rather than inlineasm: @llvm.arm.hint probably (you may need to create
it).
__emit is a terrible idea. I'm steering well clear of any patch involving it.
> If emitting code in ARM mode, the instruction is 32-bits wide, and 16-bits wide in thumb mode.
This appears to be false.
Cheers.
Tim.
More information about the cfe-commits
mailing list