summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/inlineasm_constraint.ll
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Name inline asm constraint test cases in a uniform manner. NFCSimon Atanasyan2019-07-171-75/+0
| | | | llvm-svn: 366302
* [mips] Use --check-prefixes where appropriate. NFC.Daniel Sanders2016-06-241-2/+2
| | | | llvm-svn: 273669
* [mips] Enable IAS by default for 32-bit MIPS targets (O32).Daniel Sanders2016-05-141-0/+2
| | | | | | | | | | | | | | | | | | | Summary: The MIPS IAS can now pass 'ninja check-all', recurse, build a bootable linux kernel, and pass a variety of LNT testing. Unfortunately we can't enable it by default for 64-bit targets yet since the N32 ABI is still very buggy and this also means we can't enable it for N64 either because we can't distinguish between N32 and N64 in the relevant code. Reviewers: vkalintiris Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D18759 Differential Revision: http://reviews.llvm.org/D18761 llvm-svn: 269560
* [mips][ias] Explicitly disable IAS on tests that depend on not assembling.Daniel Sanders2015-11-261-31/+49
| | | | | | | | | | | | | | | | | | | | | Summary: no-odd-spreg-msa.ll: This test deliberately uses an odd-numbered register in inline assembly and expects the compiler to insert a move to an even-numbered register. inlineasm-operand-code.ll and inlineasm_constraint.ll: Checks for IAS's output will be added once a matcher bug is resolved. This bug causes the canonical output emitted by IAS to be incorrect for uimm16 constants with the MSB set. We will still need the non-IAS checks at this point since these tests primarily test formatting of operands. Reviewers: vkalintiris Subscribers: dsanders, llvm-commits Differential Revision: http://reviews.llvm.org/D14705 llvm-svn: 254148
* [mips][ias] Allow whitespace after commas in inlineasm*.ll tests.Daniel Sanders2015-11-161-16/+16
| | | | | | | IAS always prints whitespace after a comma. NFC at the moment but this will prevent failures when IAS is enabled. llvm-svn: 253208
* [mips] Support 9-bit offsets for the 'R' inline assembly memory constraint.Daniel Sanders2015-03-301-9/+0
| | | | | | | | | | | | | | | | | | | Summary: The 'R' constraint is actually supposed to be much more complicated than this and is defined in terms of whether it will cause macro expansion in the assembler. 'R' is getting less useful due to architecture changes and ought to be replaced by other constraints. We therefore implement 9-bit offsets which will work for all subtargets and all instructions. Reviewers: vkalintiris Reviewed By: vkalintiris Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D8440 llvm-svn: 233537
* [mips] Change lwl and lwr in inlineasm_constraint.ll to lwDaniel Sanders2014-05-221-3/+3
| | | | | | | | | | | | | | | | | Summary: lwl and lwr are not available in MIPS32r6/MIPS64r6. The purpose of the test is to check that the '$1' expands to '0($x)' rather than to test something related to the lwl or lwr instructions so we can simply switch to lw. Depends on D3842 Reviewers: jkolek, zoran.jovanovic, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3844 llvm-svn: 209423
* [mips] Use addiu in inline assembly tests since addi is not available in all ↵Daniel Sanders2014-05-221-12/+12
| | | | | | | | | | | | | | | | | | | | | ISA's Summary: This patch is necessary so that they do not fail on MIPS32r6/MIPS64r6 when -integrated-as is enabled by default and we correctly detect the host CPU. No functional change since these tests are testing the behaviour of the constraint used for the third operand rather than the mnemonic. Depends on D3842 Reviewers: zoran.jovanovic, jkolek, vmedic Reviewed By: vmedic Differential Revision: http://reviews.llvm.org/D3843 llvm-svn: 209421
* Mips specific inline assembler constraint 'R'Jack Carter2013-03-041-0/+9
| | | | | | | 'R' An address that can be sued in a non-macro load or store. This patch includes a positive test case. llvm-svn: 176452
* Use regular expression to match register names. Akira Hatanaka2012-05-111-1/+1
| | | | llvm-svn: 156656
* Add support for the 'P' constraint.Eric Christopher2012-05-071-0/+6
| | | | | | Patch by Jack Carter. llvm-svn: 156292
* Add support for the 'O' constraint.Eric Christopher2012-05-071-0/+6
| | | | | | Patch by Jack Carter. llvm-svn: 156285
* Add support for the 'N' inline asm constraint.Eric Christopher2012-05-071-0/+6
| | | | | | Patch by Jack Carter. llvm-svn: 156284
* Add support for the 'L' inline asm constraint.Eric Christopher2012-05-071-1/+6
| | | | | | Patch by Jack Carter. llvm-svn: 156283
* Add support for the inline asm constraint 'K'.Eric Christopher2012-05-071-0/+6
| | | | llvm-svn: 156282
* Support the 'J' constraint.Eric Christopher2012-05-071-0/+6
| | | | | | Patch by Jack Carter. llvm-svn: 156280
* Add support for the 'I' inline asm constraint. Also add testsEric Christopher2012-05-071-0/+20
from the previous 2 patches. Patch by Jack Carter. llvm-svn: 156279
OpenPOWER on IntegriCloud