summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Mips/macro-ld-sd.s
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Map SW instruction to its microMIPS R6 variantSimon Atanasyan2019-03-131-2/+22
| | | | | | | | | | | | | | | | To provide mapping between standard and microMIPS R6 variants of the `sw` command we have to rename SWSP_xxx commands from "sw" to "swsp". Otherwise `tablegen` starts to show the error `Multiple matches found for `SW'`. After that to restore printing SWSP command as `sw`, I add an appropriate `MipsInstAlias` instance. We also need to implement "size reduction" for microMIPS R6. But this task is for separate patch. After that the `micromips-lwsp-swsp.ll` test case will be extended. Differential Revision: http://reviews.llvm.org/D59046 llvm-svn: 356045
* llvm/test/MC/Mips/macro-ld-sd.s: Sweep a spurious character \xA0 in the test ↵NAKAMURA Takumi2016-10-191-1/+1
| | | | | | | | file. It might crash FileCheck. llvm-svn: 284587
* [mips] Macro expansion for ld, sd for O32Simon Dardis2016-10-181-0/+24
ld and sd when assembled for the O32 ABI expand to a pair of 32 bit word loads or stores using the specified source or destination register and the next register. This patch does not add support for the cases where the offset is greater than a 16 bit signed immediate as that would lead to a wrong/misleading error message as the assembler would report "instruction requires a CPU feature not currently enabled" for ld & sd for MIPS64 when their offset is not a signed 16 bit number. This fixes PR/29159. Thanks to Sean Bruno for reporting this issue! Reviewers: vkalintiris, seanbruno, zoran.jovanovic Differential Review: https://reviews.llvm.org/D24556 llvm-svn: 284481
OpenPOWER on IntegriCloud