Skip to content
Permalink
Browse files

[mips] Update readme

  • Loading branch information...
Daniel Sanders
Daniel Sanders committed Sep 7, 2015
1 parent ff4fc82 commit 985d810b2776fe0addb4adc256ad9d45c392e323
Showing with 18 additions and 9 deletions.
  1. +4 −9 README.mips
  2. +14 −0 README.mipsel
@@ -12,18 +12,13 @@ to two bugs:
* Vectors whose size is not a multiple of 4 bytes (such as char3) trigger an
optimisation bug in SROA. This is still being debugged.

Little-endian MIPS32r2 systems pass most tests but currently fails SPIR tests
and shuffle tests. The shuffle tests fail because they define 16-byte aligned
vectors on the stack which turn out to only be 8-byte aligned since stack
frames are 8-byte aligned and LLVM 3.5 does not implement dynamic stack
realignment for MIPS yet. An experimental patch to detect this situation and
report an error at compile-time has revealed that many of the tests that do
pass are affected by this issue and seem to pass by luck.
It's expected that most of this has been fixed in LLVM 3.7 but this
has not yet been re-tested.

Testing
-------

Tested on an EdgeRouter Pro running 32-bit big-endian Debian Jessie with the following
configure command:
Tested on an EdgeRouter Pro running 32-bit big-endian Debian Jessie with the
following configure command:

./configure --host=mips-unknown-linux-gnu --build mips-unknown-linux-gnu
@@ -0,0 +1,14 @@
MIPS Little Endian
==================

With LLVM 3.7.0 plus a couple minor patches, almost all Little-endian MIPS32r2
tests from pocl's set pass.

Testing
-------

Tested on a Creator CI20 running 32-bit little-endian Debian Jessie with
the following cmake command:

PATH=/path/to/clang-3.7.0-patched/bin/:$PATH CC=clang CXX=clang++ \
cmake -GNinja ../pocl.src/ -DLLC_HOST_CPU=mips32r2

0 comments on commit 985d810

Please sign in to comment.
You can’t perform that action at this time.