llvm-project/llvm/lib/Target/ARM/MCTargetDesc
Tim Northover 46a6f0fbf0 Recommit: ARM: sort register lists by encoding in push/pop instructions.
For example we were producing

    push {r8, r10, r11, r4, r5, r7, lr}

This is misleading (r4, r5 and r7 are actually pushed before the rest), and
other components (stack folding recently) often forget to deal with the extra
complexity coming from the different order, leading to miscompiles. Finally, we
warn about our own code in -no-integrated-as mode without this, which is really
not a good idea.

Fixed usage of std::sort so that we (hopefully) use instantiations that
actually exist in GCC 4.8.

llvm-svn: 286881
2016-11-14 20:28:24 +00:00
..
ARMAddressingModes.h [ARM] Add ARMv8.2-A FP16 scalar instructions 2016-01-25 10:26:26 +00:00
ARMAsmBackend.cpp ARM: by default don't set the Thumb bit on MachO relocated values. 2016-08-25 20:41:30 +00:00
ARMAsmBackend.h Fix branch relaxation in 16-bit mode. 2016-07-11 14:23:53 +00:00
ARMAsmBackendDarwin.h MachO: enable .data_region directives everywhere 2016-04-21 23:00:17 +00:00
ARMAsmBackendELF.h Make more headers self-contained. 2016-01-27 18:03:37 +00:00
ARMAsmBackendWinCOFF.h Don't put classes in headers into anonymous namespaces. 2016-01-27 19:29:42 +00:00
ARMBaseInfo.h Don't print (PLT) on arm. 2016-06-16 16:09:53 +00:00
ARMELFObjectWriter.cpp [Thumb1] Add relocations for fixups fixup_arm_thumb_{br,bcc} 2016-09-05 08:29:15 +00:00
ARMELFStreamer.cpp Use StringRef in ARMELFStreamer (NFC) 2016-10-07 08:48:07 +00:00
ARMFixupKinds.h Fix for pr24346: arm asm label calculation error in sub 2016-04-01 09:40:47 +00:00
ARMMCAsmInfo.cpp [ARM] Set a non-conflicting comment character for assembly in MSVC mode 2016-07-27 12:31:58 +00:00
ARMMCAsmInfo.h
ARMMCCodeEmitter.cpp Recommit: ARM: sort register lists by encoding in push/pop instructions. 2016-11-14 20:28:24 +00:00
ARMMCExpr.cpp
ARMMCExpr.h
ARMMCTargetDesc.cpp Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
ARMMCTargetDesc.h Move the global variables representing each Target behind accessor function 2016-10-09 23:00:34 +00:00
ARMMachORelocationInfo.cpp Reflect the MC/MCDisassembler split on the include/ level. 2016-01-26 16:44:37 +00:00
ARMMachObjectWriter.cpp Replace "fallthrough" comments with LLVM_FALLTHROUGH 2016-08-17 05:10:15 +00:00
ARMTargetStreamer.cpp [ARM] Fix several state persistence bugs 2016-01-12 13:38:15 +00:00
ARMUnwindOpAsm.cpp
ARMUnwindOpAsm.h
ARMWinCOFFObjectWriter.cpp
ARMWinCOFFStreamer.cpp [MC, COFF] Support link /incremental conditionally 2015-12-21 22:09:27 +00:00
CMakeLists.txt
LLVMBuild.txt