Adding initial AsmParser implementation for the MBlaze backend. It is
authorWesley Peck <peckw@wesleypeck.com>
Thu, 21 Oct 2010 19:48:38 +0000 (19:48 +0000)
committerWesley Peck <peckw@wesleypeck.com>
Thu, 21 Oct 2010 19:48:38 +0000 (19:48 +0000)
commit4da992aebada7445ef68a7b6b94676dd26e9d537
tree535f86b7d5284f8c0be9ee7364e1acfd0ac9a971
parentbc078c81e66cbd0263fb75f533a63ac7dd1f137d
Adding initial AsmParser implementation for the MBlaze backend. It is
mostly based on the ARM AsmParser at this time and is not particularly
functional.

Changed the MBlaze data layout from:
    "E-p:32:32-i8:8:8-i16:16:16-i64:32:32-f64:32:32-v64:32:32-v128:32:32-n32"
to:
    "E-p:32:32:32-i8:8:8-i16:16:16"
because the MicroBlaze doesn't have i64, f64, v64, or v128 data types.

Cleaned up the MBlaze source code:
    1. The floating point register class has been removed. The
       MicroBlaze does not have floating point registers. Floating
       point values are simply stored in integer registers.
    2. Renaming the CPURegs register class to GPR to reflect the
       standard naming.
    3. Removing a lot of stale code from AsmPrinter after
       the conversion to InstPrinter.
    4. Simplified sign extended loads by marking them as
       expanded in ISelLowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117054 91177308-0d34-0410-b5e6-96231b3b80d8
19 files changed:
cmake/modules/LLVMLibDeps.cmake
lib/Target/MBlaze/AsmParser/CMakeLists.txt [new file with mode: 0644]
lib/Target/MBlaze/AsmParser/MBlazeAsmLexer.cpp [new file with mode: 0644]
lib/Target/MBlaze/AsmParser/MBlazeAsmParser.cpp [new file with mode: 0644]
lib/Target/MBlaze/AsmParser/Makefile [new file with mode: 0644]
lib/Target/MBlaze/CMakeLists.txt
lib/Target/MBlaze/MBlazeAsmPrinter.cpp
lib/Target/MBlaze/MBlazeCallingConv.td
lib/Target/MBlaze/MBlazeISelLowering.cpp
lib/Target/MBlaze/MBlazeISelLowering.h
lib/Target/MBlaze/MBlazeInstrFPU.td
lib/Target/MBlaze/MBlazeInstrFSL.td
lib/Target/MBlaze/MBlazeInstrInfo.cpp
lib/Target/MBlaze/MBlazeInstrInfo.td
lib/Target/MBlaze/MBlazeRegisterInfo.cpp
lib/Target/MBlaze/MBlazeRegisterInfo.td
lib/Target/MBlaze/MBlazeTargetMachine.cpp
lib/Target/MBlaze/Makefile
lib/Target/MBlaze/TODO