summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PTX/PTXAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* ptx: add unconditional and conditional branchChe-Liang Chiou2011-03-181-16/+3
| | | | llvm-svn: 127873
* PTX: Emit global arrays with proper sizesJustin Holewinski2011-03-141-5/+34
| | | | | | | - Emit all arrays as type .b8 and proper sizes in bytes to conform to the output of nvcc llvm-svn: 127584
* ptx: add set.p instruction and related changes to predicate executionChe-Liang Chiou2011-03-141-1/+1
| | | | llvm-svn: 127577
* ptx: add basic support of predicate executionChe-Liang Chiou2011-03-131-1/+25
| | | | llvm-svn: 127569
* PTX: Fix a couple of lint violationsJustin Holewinski2011-03-031-1/+2
| | | | llvm-svn: 126936
* ptx: fix lint and compiler warningsChe-Liang Chiou2011-03-021-2/+4
| | | | llvm-svn: 126838
* Add 64-bit addressing to PTX backendChe-Liang Chiou2011-03-021-5/+6
| | | | | | | | | | - Add '64bit' sub-target option. - Select 32-bit/64-bit loads/stores based on '64bit' option. - Fix function parameter order. Patch by Justin Holewinski llvm-svn: 126837
* Extend initial support for primitive types in PTX backendChe-Liang Chiou2011-03-021-19/+45
| | | | | | | | | | | | | | - Allow i16, i32, i64, float, and double types, using the native .u16, .u32, .u64, .f32, and .f64 PTX types. - Allow loading/storing of all primitive types. - Allow primitive types to be passed as parameters. - Allow selection of PTX Version and Shader Model as sub-target attributes. - Merge integer/floating-point test cases for load/store. - Use .u32 instead of .s32 to conform to output from NVidia nvcc compiler. Patch by Justin Holewinski llvm-svn: 126824
* Add preliminary support for .f32 in the PTX backend.Che-Liang Chiou2011-02-281-2/+27
| | | | | | | | | | | | - Add appropriate TableGen patterns for fadd, fsub, fmul. - Add .f32 as the PTX type for the LLVM float type. - Allow parameters, return values, and global variable declarations to accept the float type. - Add appropriate test cases. Patch by Justin Holewinski llvm-svn: 126636
* ptx: add passing parameter to kernel functionsChe-Liang Chiou2011-02-101-3/+9
| | | | llvm-svn: 125279
* ptx: add state spacesChe-Liang Chiou2010-12-301-5/+8
| | | | llvm-svn: 122638
* ptx: add ld instruction and testChe-Liang Chiou2010-12-221-4/+99
| | | | llvm-svn: 122398
* ptx: bug fix: use after freeChe-Liang Chiou2010-12-011-7/+8
| | | | llvm-svn: 120571
* ptx: add command-line options for gpu target and ptx versionChe-Liang Chiou2010-11-301-0/+18
| | | | llvm-svn: 120423
* ptx: add ld instructionChe-Liang Chiou2010-11-301-9/+21
| | | | | | | support register and register-immediate addressing mode todo: immediate and register-register addressing mode llvm-svn: 120407
* Add simple arithmetics and %type directive for PTXChe-Liang Chiou2010-11-171-8/+30
| | | | llvm-svn: 119485
* move all the target's asmprinters into the main target. The piece Chris Lattner2010-11-141-0/+190
that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056
OpenPOWER on IntegriCloud