[llvm-commits] (Mips MC) Code review request

Carter, Jack jcarter at mips.com
Wed Mar 14 18:37:19 PDT 2012


Incremental big endian patch

big_endian_5.patch

These changes allow us to compile big endian from the
commandline for 32 bit Mips targets.

This patch will result in code and data actually being
produced in the correct endianess.


Contributers: Jack Carter, Akira Hatanaka

#
#    test/MC/Mips/elf-bigendian.ll
#    lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
#    lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp


Here is my annotation.

**********************
#   test/MC/Mips/elf-bigendian.ll

Checks ELF and prologue code for big endian.

**********************
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp

Added code to endianize fixup values.

**********************
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp

Changed EmitInstruction to endianize the instruction.

**********************

Jack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120315/93b07e89/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: big_endian_5.patch
Type: text/x-patch
Size: 4711 bytes
Desc: big_endian_5.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120315/93b07e89/attachment.bin>


More information about the llvm-commits mailing list