summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2013-11-12 12:56:01 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2013-11-12 12:56:01 +0000
commit838f9337a1af51fb02cfe0abeccba5069619cb05 (patch)
tree8c97ef4a593255b0261cdff3e845e375ec1cc37f /lib/CodeGen/CGExpr.cpp
parenta30d2475cbc488b099d3c775603585e21760bb73 (diff)
downloadclang-838f9337a1af51fb02cfe0abeccba5069619cb05.tar.gz
clang-838f9337a1af51fb02cfe0abeccba5069619cb05.tar.bz2
clang-838f9337a1af51fb02cfe0abeccba5069619cb05.tar.xz
[mips][msa] Enable inlinse assembly for MSA.
Like GCC, this re-uses the 'f' constraint and a new 'w' print-modifier: asm ("ldi.w %w0, 1", "=f"(result)); Unlike GCC, the 'w' print-modifer is not _required_ to produce the intended output. This is a consequence of differences in the internal handling of the registers in each compiler. To be source-compatible between the compilers, users must use the 'w' print-modifier. MSA registers (including control registers) are supported in clobber lists. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions