[llvm-commits] [Mips] Direct object big endian review and submittal request

Carter, Jack jcarter at mips.com
Wed Jan 4 20:33:38 PST 2012


The bigest changes are to endianize the opcode and then the fixups. I am less than thrilled
that we have to do this at this level of the compiler and not at a higher level, but that
will be a battle for another day.

I am also concerned that there seems to be an assumption that the host machine will be
little endian. Instead of checking if the target is big or little endian I would have
thought we would be asking if it was a different endian or not.

Contributers: Jack Carter

#
#    modified:   MCTargetDesc/MipsAsmBackend.cpp
#    modified:   MCTargetDesc/MipsMCCodeEmitter.cpp
#    modified:   MCTargetDesc/MipsMCTargetDesc.cpp
#    modified:   MCTargetDesc/MipsMCTargetDesc.h
#    new        :   test/MC/Mips/elf-bigendian.ll

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120105/a11ac3d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: big_endian.patch
Type: text/x-patch
Size: 20063 bytes
Desc: big_endian.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120105/a11ac3d3/attachment.bin>


More information about the llvm-commits mailing list