- Feb 28, 2017
-
-
Matt Arsenault authored
llvm-svn: 296523
-
- Feb 27, 2017
-
-
Matt Arsenault authored
llvm-svn: 296401
-
Matt Arsenault authored
llvm-svn: 296396
-
Matt Arsenault authored
Add a few non-VOP3P but instructions related to packed. Includes hack with dummy operands for the benefit of the assembler llvm-svn: 296368
-
- Feb 23, 2017
-
-
Matt Arsenault authored
The manual is unclear on the details of this. It's not clear to me if denormals are not allowed with clamp, or if that is only omod. Not allowing denorms for fp16 or fp64 isn't useful so I also question if that is really a restriction. Same with whether this is valid without IEEE mode enabled. llvm-svn: 295905
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D30232 llvm-svn: 295904
-
- Feb 22, 2017
-
-
Wei Ding authored
This reverts commit r295867. llvm-svn: 295871
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D30232 llvm-svn: 295867
-
Matt Arsenault authored
Convert llvm.SI.packf16 test uses llvm-svn: 295797
-
Matt Arsenault authored
Change implementation to use max instead of add. min/max/med3 do not flush denormals regardless of the mode, so it is OK to use it whether or not they are enabled. Also allow using clamp with f16, and use knowledge of dx10_clamp. llvm-svn: 295788
-
- Feb 10, 2017
-
-
Wei Ding authored
Differential Revision: http://reviews.llvm.org/D26010 llvm-svn: 294692
-
- Feb 02, 2017
-
-
Matt Arsenault authored
The operand types were defined to fit the fp16_to_fp node, which has the half as an integer type. v_cvt_f32_f16 does support source modifiers, so change this to have an FP type and modifiers. For targets without legal f16, this requires recognizing the bit operations and trying to produce them. llvm-svn: 293857
-
- Jan 31, 2017
-
-
Matt Arsenault authored
I think this is safe as long as no inputs are known to ever be nans. Also add an intrinsic for fmed3 to be able to handle all safe math cases. llvm-svn: 293598
-
- Jan 30, 2017
-
-
Matt Arsenault authored
This is worse if the original constant is an inline immediate. This should also be done for 64-bit adds, but requires fixing operand folding bugs first. llvm-svn: 293540
-
Marek Olsak authored
Summary: already covered by complex patterns Reviewers: arsenm, nhaehnle, tstellarAMD Subscribers: kzhuravl, wdng, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D28995 llvm-svn: 293477
-
Marek Olsak authored
Reviewers: arsenm, tstellarAMD Subscribers: kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D28992 llvm-svn: 293476
-
- Jan 17, 2017
-
-
Matt Arsenault authored
llvm-svn: 292205
-
- Jan 11, 2017
-
-
Sam Kolton authored
Reviewers: artem.tamazov, nhaustov, vpykhtin, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D28157 llvm-svn: 291668
-
- Dec 27, 2016
-
-
Sam Kolton authored
Reviewers: nhaustov, artem.tamazov, vpykhtin, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D28051 llvm-svn: 290599
-
- Dec 23, 2016
-
-
Jan Vesely authored
Differential Revision: https://reviews.llvm.org/D27989 llvm-svn: 290435
-
- Dec 20, 2016
-
-
Tom Stellard authored
Reviewers: arsenm, nhaehnle, mareko Subscribers: kzhuravl, wdng, yaxunl, llvm-commits, tony-tye Differential Revision: https://reviews.llvm.org/D27834 llvm-svn: 290184
-
- Dec 15, 2016
-
-
Matt Arsenault authored
llvm-svn: 289866
-
- Dec 14, 2016
-
-
Matt Arsenault authored
llvm-svn: 289664
-
- Dec 10, 2016
-
-
Matt Arsenault authored
Since 32-bit instructions with 32-bit input immediate behavior are used to materialize 16-bit constants in 32-bit registers for 16-bit instructions, determining the legality based on the size is incorrect. Change operands to have the size specified in the type. Also adds a workaround for a disassembler bug that produces an immediate MCOperand for an operand that is supposed to be OPERAND_REGISTER. The assembler appears to accept out of bounds immediates and truncates them, but this seems to be an issue for 32-bit already. llvm-svn: 289306
-
- Dec 05, 2016
-
-
Matt Arsenault authored
compr is not currently parsed (or printed) correctly, but that should probably be fixed along with intrinsic changes. llvm-svn: 288698
-
Matt Arsenault authored
This is an improvement over a long list of unreadable numbers. A follow up patch will try to match how sc formats these. llvm-svn: 288697
-
Matt Arsenault authored
Structure the definitions a bit more like the other classes. The main change here is to split EXP with the done bit set to a separate opcode, so we can set mayLoad = 1 so that it won't be reordered before the other exp stores, since this has the special constraint that if the done bit is set then this should be the last exp in she shader. Previously all exp instructions were inferred to have unmodeled side effects. llvm-svn: 288695
-
- Nov 18, 2016
-
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D26862 llvm-svn: 287389
-
- Nov 15, 2016
-
-
Sam Kolton authored
Summary: This is needed to be able to use this flags in InstrMappings. Reviewers: tstellarAMD, vpykhtin Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D26666 llvm-svn: 286960
-
- Nov 13, 2016
-
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D25975 llvm-svn: 286753
-
- Nov 10, 2016
-
-
Tom Stellard authored
Patch By: Wei Ding Differential Revision: https://reviews.llvm.org/D18049 llvm-svn: 286464
-
- Nov 04, 2016
-
-
Tom Stellard authored
This reverts commit r285939 and r285948. These broke some conformance tests. llvm-svn: 285995
-
- Nov 03, 2016
-
-
Tom Stellard authored
Patch By: Wei Ding Differential Revision: https://reviews.llvm.org/D18049 llvm-svn: 285939
-
- Nov 01, 2016
-
-
Matt Arsenault authored
This is the conservatively correct way because it's easy to move or replace a scalar immediate. This was incorrect in the case when the register class wasn't known from the static instruction definition, but still needed to be an SGPR. The main example of this is inlineasm has an SGPR constraint. Also start verifying the register classes of inlineasm operands. llvm-svn: 285762
-
- Oct 28, 2016
-
-
Matt Arsenault authored
While trying to add the glc bit to SMEM instructions on VI with the new refactoring I ran into some kind of shadowing problem for the glc operand when using the pseudoinstruction as a multiclass parameter. Everywhere that currently uses it defines the operand to have the same name as its type, i.e. glc:$glc which works. For some reason now it conflicts, and its up evaluating to the wrong thing. For the real encoding classes, let Inst{16} = !if(ps.has_glc, glc, ?); was not being evaluated and still visible in the Inst initializer in the expanded td file. In other cases I got a a different error about an illegal operand where this was using { 0 } initializer from the bits<1> glc initializer instead of evaluating it as false in the if. For consistency all of the operand types should probably be captialized to avoid conflicting with the variable names unless somebody has a better idea of how to fix this. llvm-svn: 285462
-
- Oct 14, 2016
-
-
Konstantin Zhuravlyov authored
[AMDGPU] Emit 32-bit lo/hi got and pc relative variant kinds for external and global address space variables Differential Revision: https://reviews.llvm.org/D25562 llvm-svn: 284196
-
- Oct 06, 2016
-
-
Sam Kolton authored
Summary: Add AMDGPUSymbolizer for finding names for labels from ELF symbol table. Initialize MCObjectFileInfo with some default values. Reviewers: vpykhtin, artem.tamazov, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D24802 llvm-svn: 283450
-
- Sep 26, 2016
-
-
Sam Kolton authored
This reverts commit 6c6dbe625263ec9fcf8de0df27263cf147cde550. llvm-svn: 282396
-
Sam Kolton authored
Summary: Add AMDGPUSymbolizer for finding names for labels from ELF symbol table. Reviewers: vpykhtin, artem.tamazov, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D24802 llvm-svn: 282394
-
- Sep 23, 2016
-
-
Valery Pykhtin authored
Differential revision: https://reviews.llvm.org/D24738 llvm-svn: 282234
-