summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtins-arm-msvc-compat-error.c
Commit message (Collapse)AuthorAgeFilesLines
* CodeGen: implement __emit intrinsicSaleem Abdulrasool2014-12-171-0/+6
For MSVC compatibility, add the `__emit' builtin. This is used in the Windows SDK headers, and must therefore be implemented as a builtin rather than an intrinsic. The `__emit' builtin provides a mechanism to emit a 16-bit opcode instruction into the stream. The value must be a compile time constant expression. No guarantees are made about the CPU and memory states after the execution of the instruction. Due to the unchecked nature of the builtin, only support this on Windows on ARM. llvm-svn: 224438
OpenPOWER on IntegriCloud