Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | ptx: fix parameter order that is reversed | Che-Liang Chiou | 2011-03-18 | 1 | -5/+4 | |
| | | | | llvm-svn: 127874 | |||||
* | ptx: add unconditional and conditional branch | Che-Liang Chiou | 2011-03-18 | 5 | -26/+57 | |
| | | | | llvm-svn: 127873 | |||||
* | PTX: Set PTX 2.0 as the minimum supported version | Justin Holewinski | 2011-03-15 | 5 | -42/+80 | |
| | | | | | | | | - Remove PTX 1.4 code generation - Change type of intrinsics to .v4.i32 instead of .v4.i16 - Add and/or/xor integer instructions llvm-svn: 127677 | |||||
* | Avoid a compiler warning about reg possibly being used uninitialized | Duncan Sands | 2011-03-15 | 1 | -4/+2 | |
| | | | | | | when building with assertions disabled. llvm-svn: 127675 | |||||
* | PTX: Emit global arrays with proper sizes | Justin Holewinski | 2011-03-14 | 1 | -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 support for sqrt/sin/cos intrinsics | Justin Holewinski | 2011-03-14 | 1 | -0/+33 | |
| | | | | llvm-svn: 127578 | |||||
* | ptx: add set.p instruction and related changes to predicate execution | Che-Liang Chiou | 2011-03-14 | 4 | -17/+59 | |
| | | | | llvm-svn: 127577 | |||||
* | ptx: add basic support of predicate execution | Che-Liang Chiou | 2011-03-13 | 4 | -59/+177 | |
| | | | | llvm-svn: 127569 | |||||
* | PTX: Add preliminary support for floating-point divide and multiply-and-add | Justin Holewinski | 2011-03-10 | 2 | -5/+104 | |
| | | | | llvm-svn: 127410 | |||||
* | ptx: add the rest of special registers of ISA version 2.0 | Che-Liang Chiou | 2011-03-10 | 1 | -7/+43 | |
| | | | | llvm-svn: 127397 | |||||
* | PTX: Add intrinsic support for ntid, ctaid, and nctaid registers | Justin Holewinski | 2011-03-08 | 1 | -4/+22 | |
| | | | | llvm-svn: 127246 | |||||
* | ptx: add basic intrinsic support | Che-Liang Chiou | 2011-03-05 | 2 | -0/+39 | |
| | | | | llvm-svn: 127084 | |||||
* | PTX: Fix Emacs renaming a symbol | Justin Holewinski | 2011-03-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 126938 | |||||
* | PTX: Fix a couple of lint violations | Justin Holewinski | 2011-03-03 | 4 | -4/+8 | |
| | | | | llvm-svn: 126936 | |||||
* | ptx: fix lint and compiler warnings | Che-Liang Chiou | 2011-03-02 | 3 | -9/+13 | |
| | | | | llvm-svn: 126838 | |||||
* | Add 64-bit addressing to PTX backend | Che-Liang Chiou | 2011-03-02 | 9 | -44/+121 | |
| | | | | | | | | | | - 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 backend | Che-Liang Chiou | 2011-03-02 | 10 | -121/+440 | |
| | | | | | | | | | | | | | | - 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 Chiou | 2011-02-28 | 5 | -10/+131 | |
| | | | | | | | | | | | | - 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 | |||||
* | Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. | Cameron Zwarich | 2011-02-25 | 1 | -3/+0 | |
| | | | | llvm-svn: 126488 | |||||
* | Enable DebugInfo support for COFF object files. | Devang Patel | 2011-02-24 | 1 | -0/+3 | |
| | | | | | | Patch by Nathan Jeffords! llvm-svn: 126425 | |||||
* | Use explicit add_subdirectory's for LLVM target sublibraries instead | Oscar Fuentes | 2011-02-20 | 1 | -0/+2 | |
| | | | | | | | | | of testing for its presence at cmake time. This way the build automatically regenerates the makefiles when a svn update brings in a new sublibrary. llvm-svn: 126068 | |||||
* | Add support for pushsection and popsection. Patch by Joerg Sonnenberger. | Rafael Espindola | 2011-02-16 | 1 | -12/+7 | |
| | | | | llvm-svn: 125629 | |||||
* | ptx: add passing parameter to kernel functions | Che-Liang Chiou | 2011-02-10 | 8 | -61/+96 | |
| | | | | llvm-svn: 125279 | |||||
* | Update CMake stuff | Anton Korobeynikov | 2011-01-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 123171 | |||||
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 4 | -17/+19 | |
| | | | | | | and fixes here and there. llvm-svn: 123170 | |||||
* | ptx: remove reg-reg addressing mode and st.const | Che-Liang Chiou | 2011-01-01 | 2 | -29/+11 | |
| | | | | llvm-svn: 122653 | |||||
* | ptx: add store instruction | Che-Liang Chiou | 2011-01-01 | 4 | -4/+101 | |
| | | | | llvm-svn: 122652 | |||||
* | ptx: add state spaces | Che-Liang Chiou | 2010-12-30 | 3 | -8/+63 | |
| | | | | llvm-svn: 122638 | |||||
* | ptx: add ld instruction and test | Che-Liang Chiou | 2010-12-22 | 6 | -22/+181 | |
| | | | | llvm-svn: 122398 | |||||
* | MC: Make TargetAsmBackend available to the AsmStreamer. | Daniel Dunbar | 2010-12-16 | 2 | -1/+3 | |
| | | | | | | - Treaty talks on the non-proliferation of MC objects broke down. llvm-svn: 121949 | |||||
* | Fixed version of 121434 with no new memory leaks. | Rafael Espindola | 2010-12-10 | 2 | -14/+13 | |
| | | | | llvm-svn: 121471 | |||||
* | Revert my previous patch to make the valgrind bots happy. | Rafael Espindola | 2010-12-10 | 2 | -13/+14 | |
| | | | | llvm-svn: 121461 | |||||
* | Initial support for the cfi directives. This is just enough to get | Rafael Espindola | 2010-12-09 | 2 | -14/+13 | |
| | | | | | | | | | | | f: .cfi_startproc nop .cfi_endproc assembled (on ELF). llvm-svn: 121434 | |||||
* | ptx: add shift instructions | Che-Liang Chiou | 2010-12-06 | 1 | -0/+27 | |
| | | | | llvm-svn: 120982 | |||||
* | There are two reasons why we might want to use | Rafael Espindola | 2010-12-04 | 1 | -3/+2 | |
| | | | | | | | | | | | | | | | | foo = a - b .long foo instead of just .long a - b First, on darwin9 64 bits the assembler produces the wrong result. Second, if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not consider a - b to be a constant but will if the dummy foo is created. Split how we handle these cases. The first one is something MC should take care of. The second one has to be handled by the caller. llvm-svn: 120889 | |||||
* | Try to resolve symbol differences early, and if successful create a plain | Rafael Espindola | 2010-12-03 | 1 | -0/+10 | |
| | | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767 | |||||
* | Use set directive for StartMinusEndExpr. | Devang Patel | 2010-12-02 | 1 | -2/+3 | |
| | | | | | | This is a fix for llvm-gcc-i386-darwin9 buildbot failure. llvm-svn: 120742 | |||||
* | ptx: bug fix: use after free | Che-Liang Chiou | 2010-12-01 | 1 | -7/+8 | |
| | | | | llvm-svn: 120571 | |||||
* | ptx: add command-line options for gpu target and ptx version | Che-Liang Chiou | 2010-11-30 | 1 | -0/+18 | |
| | | | | llvm-svn: 120423 | |||||
* | ptx: add ld instruction | Che-Liang Chiou | 2010-11-30 | 3 | -9/+118 | |
| | | | | | | | support register and register-immediate addressing mode todo: immediate and register-register addressing mode llvm-svn: 120407 | |||||
* | Make EmitIntValue non virtual. | Rafael Espindola | 2010-11-28 | 1 | -26/+9 | |
| | | | | llvm-svn: 120271 | |||||
* | Move the PTXMCAsmStreamer class to the .cpp file. | Rafael Espindola | 2010-11-28 | 3 | -206/+181 | |
| | | | | llvm-svn: 120241 | |||||
* | Move hasFP() and few related hooks to TargetFrameInfo. | Anton Korobeynikov | 2010-11-18 | 2 | -2/+2 | |
| | | | | llvm-svn: 119740 | |||||
* | Add simple arithmetics and %type directive for PTX | Che-Liang Chiou | 2010-11-17 | 2 | -9/+51 | |
| | | | | llvm-svn: 119485 | |||||
* | Add .loc methods to the streamer. | Rafael Espindola | 2010-11-16 | 2 | -2/+4 | |
| | | | | | | | Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. llvm-svn: 119384 | |||||
* | Attempt to unbreak cmake-based builds | Anton Korobeynikov | 2010-11-15 | 1 | -0/+1 | |
| | | | | llvm-svn: 119098 | |||||
* | First step of huge frame-related refactoring: move emit{Prologue,Epilogue} ↵ | Anton Korobeynikov | 2010-11-15 | 5 | -6/+68 | |
| | | | | | | out of TargetRegisterInfo to TargetFrameInfo, which is definitely much better suitable place llvm-svn: 119097 | |||||
* | move all the target's asmprinters into the main target. The piece | Chris Lattner | 2010-11-14 | 5 | -22/+2 | |
| | | | | | | | 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 | |||||
* | Add generating function declaration for PTX | Che-Liang Chiou | 2010-11-08 | 2 | -11/+129 | |
| | | | | llvm-svn: 118398 | |||||
* | Add physical register counting functions | Che-Liang Chiou | 2010-11-08 | 6 | -0/+176 | |
| | | | | llvm-svn: 118397 |