R600/SI: Initial support for assembler and inline assembly
authorTom Stellard <thomas.stellard@amd.com>
Wed, 8 Apr 2015 01:09:26 +0000 (01:09 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 8 Apr 2015 01:09:26 +0000 (01:09 +0000)
commitd7e6f13671e4f36c038b1a671697196b7b72db27
treece98987f91ccc8f725970f2ba6e3d3b696b28708
parent8980dc323bfeabb8a2179611e3a8d57f457c556f
R600/SI: Initial support for assembler and inline assembly

This is currently considered experimental, but most of the more
commonly used instructions should work.

So far only SI has been extensively tested, CI and VI probably work too,
but may be buggy.  The current set of tests cases do not give complete
coverage, but I think it is sufficient for an experimental assembler.

See the documentation in R600Usage for more information.

llvm-svn: 234381
30 files changed:
llvm/docs/R600Usage.rst
llvm/lib/Target/R600/AMDGPU.td
llvm/lib/Target/R600/AMDGPUAsmPrinter.cpp
llvm/lib/Target/R600/AMDGPUAsmPrinter.h
llvm/lib/Target/R600/AMDGPUSubtarget.cpp
llvm/lib/Target/R600/AMDGPUSubtarget.h
llvm/lib/Target/R600/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.cpp
llvm/lib/Target/R600/InstPrinter/AMDGPUInstPrinter.h
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/lib/Target/R600/SIISelLowering.h
llvm/lib/Target/R600/SIInstrFormats.td
llvm/lib/Target/R600/SIInstrInfo.td
llvm/lib/Target/R600/SIInstructions.td
llvm/lib/Target/R600/SIRegisterInfo.td
llvm/test/MC/R600/ds-err.s [new file with mode: 0644]
llvm/test/MC/R600/ds.s [new file with mode: 0644]
llvm/test/MC/R600/mubuf.s [new file with mode: 0644]
llvm/test/MC/R600/smrd.s [new file with mode: 0644]
llvm/test/MC/R600/sop1-err.s [new file with mode: 0644]
llvm/test/MC/R600/sop1.s [new file with mode: 0644]
llvm/test/MC/R600/sop2.s [new file with mode: 0644]
llvm/test/MC/R600/sopc.s [new file with mode: 0644]
llvm/test/MC/R600/sopk.s [new file with mode: 0644]
llvm/test/MC/R600/sopp.s
llvm/test/MC/R600/vop1.s [new file with mode: 0644]
llvm/test/MC/R600/vop2-err.s [new file with mode: 0644]
llvm/test/MC/R600/vop2.s [new file with mode: 0644]
llvm/test/MC/R600/vop3.s [new file with mode: 0644]
llvm/test/MC/R600/vopc.s [new file with mode: 0644]