- Mar 04, 2011
-
-
Kalle Raiskila authored
There was a previous implementation with patterns that would have matched e.g. shl <v4i32> <i32>, but this is not valid LLVM IR so they never were selected. llvm-svn: 126998
-
Kalle Raiskila authored
A 'load <4 x i32>* null' crashes llc before this fix. llvm-svn: 126995
-
Eli Friedman authored
llvm-svn: 126970
-
Bob Wilson authored
Patch by Zonr Chang! llvm-svn: 126967
-
- Mar 03, 2011
-
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126940
-
Justin Holewinski authored
llvm-svn: 126938
-
Richard Osborne authored
and siprintf is available on the target. llvm-svn: 126937
-
Justin Holewinski authored
llvm-svn: 126936
-
Richard Osborne authored
and iprintf is available on the target. Currently iprintf is only marked as being available on the XCore. llvm-svn: 126935
-
Tilmann Scheller authored
llvm-svn: 126934
-
Bob Wilson authored
llvm-svn: 126930
-
Bob Wilson authored
Patch by Jyun-Yan You, with some minor adjustments and a testcase from me. llvm-svn: 126915
-
Kevin Enderby authored
Patch by Ted Kremenek! llvm-svn: 126895
-
- Mar 02, 2011
-
-
Renato Golin authored
llvm-svn: 126882
-
Tilmann Scheller authored
llvm-svn: 126862
-
David Greene authored
missing patterns for them. Add a SIMD test subdirectory to hold tests for SIMD instruction selection correctness and quality. ' llvm-svn: 126845
-
Che-Liang Chiou authored
llvm-svn: 126838
-
Che-Liang Chiou authored
- 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
-
Che-Liang Chiou authored
- 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
-
- Mar 01, 2011
-
-
Duncan Sands authored
llvm-svn: 126780
-
Bill Wendling authored
shift. 16-bit: imm6<5:3> = '001', 8 - <imm> is encded in imm6<2:0> 32-bit: imm6<5:4> = '01',16 - <imm> is encded in imm6<3:0> 64-bit: imm6<5> = '1', 32 - <imm> is encded in imm6<4:0> llvm-svn: 126723
-
Chris Lattner authored
llvm-svn: 126719
-
- Feb 28, 2011
-
-
-
Kevin Enderby authored
llvm-svn: 126687
-
Chris Lattner authored
llvm-svn: 126682
-
David Greene authored
[AVX] Add decode support for VUNPCKLPS/D instructions, both 128-bit and 256-bit forms. Because the number of elements in a vector does not determine the vector type (4 elements could be v4f32 or v4f64), pass the full type of the vector to decode routines. llvm-svn: 126664
-
Kevin Enderby authored
needed two predicate operands before the imm operand. llvm-svn: 126662
-
-
Stuart Hastings authored
patch to the front-end. Radar 7662569. llvm-svn: 126655
-
Kalle Raiskila authored
The implemented algorithm is overly simplistic (just speculate all branches are taken)- this is work in progress. llvm-svn: 126651
-
Che-Liang Chiou authored
- 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
-
- Feb 27, 2011
-
-
Benjamin Kramer authored
llvm-svn: 126578
-
NAKAMURA Takumi authored
Target/X86: Always emit "push/pop GPRs" in prologue/epilogue and emit "spill/reload frames" for XMMs. It improves Win64's prologue/epilogue but it would not affect ia32 and amd64 (lack of nonvolatile XMMs). llvm-svn: 126568
-
- Feb 26, 2011
-
-
Benjamin Kramer authored
Add some DAGCombines for (adde 0, 0, glue), which are useful to optimize legalized code for large integer arithmetic. 1. Inform users of ADDEs with two 0 operands that it never sets carry 2. Fold other ADDs or ADDCs into the ADDE if possible It would be neat if we could do the same thing for SETCC+ADD eventually, but we can't do that in target independent code. llvm-svn: 126557
-
- Feb 25, 2011
-
-
Owen Anderson authored
llvm-svn: 126518
-
Cameron Zwarich authored
llvm-svn: 126488
-
Bob Wilson authored
llvm-svn: 126477
-
Evan Cheng authored
llvm-svn: 126467
-
Evan Cheng authored
D registers since the vpush list may not have gaps. Make sure the stack adjustment instruction isn't moved between them. Ditto for vpop in epilogues. Sorry, can't reduce a small test case. rdar://9043312 llvm-svn: 126457
-
- Feb 24, 2011
-
-
Chris Lattner authored
llvm-svn: 126441
-