[PATCH] D9524: [mips] [IAS] Add support for the DLA pseudo-instruction.

Daniel Sanders daniel.sanders at imgtec.com
Thu Jul 16 07:46:06 PDT 2015


dsanders updated this revision to Diff 29905.
dsanders added a comment.

Fixed several bugs as well as differences in output compared to GAS.

At this point, li/la/dli/dla produce the same output as GAS except for:

- N32 emits ELF64. This is a known bug.
- Relocs are based on local symbols rather than .text. Another known bug.
- la does not promote to dla on N64 with a warning. It errors instead. This is due to GPR32 vs GPR64 mismatches.


http://reviews.llvm.org/D9524

Files:
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp
  lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
  lib/Target/Mips/Mips64InstrInfo.td
  test/MC/Mips/macro-dla.s
  test/MC/Mips/macro-dli.s
  test/MC/Mips/macro-la-bad.s
  test/MC/Mips/macro-la.s
  test/MC/Mips/mips64-expansions.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9524.29905.patch
Type: text/x-patch
Size: 174103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150716/12185266/attachment.bin>


More information about the llvm-commits mailing list