<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp/lib/Target/Mips, branch 1.14.1</title>
<subtitle>LLVM with the emscripten fastcomp javascript backend</subtitle>
<id>https://git.amat.us/emscripten-fastcomp/atom/lib/Target/Mips?h=1.14.1</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp/atom/lib/Target/Mips?h=1.14.1'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/'/>
<updated>2013-10-30T12:16:42Z</updated>
<entry>
<title>Move global FlagSfi variables to common module</title>
<updated>2013-10-30T12:16:42Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-30T12:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=64ad0b18dc627d913a301088e7e517f28ec05d3f'/>
<id>urn:sha1:64ad0b18dc627d913a301088e7e517f28ec05d3f</id>
<content type='text'>
When built as nexe, llc is configured and built for one arch only.
Variables FlagSfiData, FlagSfiLoad, FlagSfiStore, FlagSfiStack, and
FlagSfiBranch have to availabe for MIPS as well, so this change moves
them from ARM-only code to common code.

BUG= building pnacl-llc.nexe for MIPS fails
TEST= build sandboxed tools for MIPS
R=mseaborn@chromium.org

Review URL: https://codereview.chromium.org/46193002
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Disable tail merging when long branch pass is enabled.</title>
<updated>2013-10-11T01:56:01Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1763e0545c0ee2748b6dbf4aaa1b4bb9d20a2ef0'/>
<id>urn:sha1:1763e0545c0ee2748b6dbf4aaa1b4bb9d20a2ef0</id>
<content type='text'>
Cherry-pick r192124 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Mon Oct 7 19:13:53 2013 +0000
[mips] Disable tail merging when long branch pass is enabled.

Another bug-fix in LongBranchPass, exposed in llc when it is compiled with
LLVM, and visible in NativeClient through llc.nexe.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= bug in llc.nexe for MIPS

Review URL: https://codereview.chromium.org/26963003
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Define method MipsSubtarget::enableLongBranchPass.</title>
<updated>2013-10-11T01:47:53Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:47:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=6a1116e13a072e4f037ad9bd29763086d5124f04'/>
<id>urn:sha1:6a1116e13a072e4f037ad9bd29763086d5124f04</id>
<content type='text'>
Cherry-pick r192122 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Mon Oct 7 19:06:57 2013 +0000
[mips] Define method MipsSubtarget::enableLongBranchPass.

This is a helper function/change for a subsequent fix in LongBranchPass,
so we need to cherrypick it to be able to pick the next change as is.

TBR= mseaborn@chromium.org, dschuff@chromium.org

Review URL: https://codereview.chromium.org/26754006
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Fix a bug in MipsLongBranch::replaceBranch</title>
<updated>2013-10-11T01:35:47Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:35:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=cf1867ae88e6bcac7061ae89694dbc44000e421e'/>
<id>urn:sha1:cf1867ae88e6bcac7061ae89694dbc44000e421e</id>
<content type='text'>
Cherry-pick r191978 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Fri Oct 4 20:51:40 2013 +0000

[mips] Fix a bug in MipsLongBranch::replaceBranch, which was erasing
instructions in delay slots along with the original branch instructions

This has to be cherrypicked, as it is a bug in backend. It was exposed in
a long function inside of llc, which caused llc.nexe to work incorrectly.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= bug in MIPS backend

Review URL: https://codereview.chromium.org/26933005
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Implement llvm.trap intrinsic.</title>
<updated>2013-10-11T01:30:21Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T01:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=24882e3c7fe112de7540242ad91e96328ec4bb63'/>
<id>urn:sha1:24882e3c7fe112de7540242ad91e96328ec4bb63</id>
<content type='text'>
Cherry-pick r187244 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Fri Jul 26 20:58:55 2013 +0000

[mips] Implement llvm.trap intrinsic.
Patch by Sasa Stankovic.

This has to be cherrypicked, as two tests fail due to missing llvm.trap
intrinsic. The tests are:
- run_sysbrk_test
- run_abi_types_test

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= sysbrk and abi_types tests fail for MIPS

Review URL: https://codereview.chromium.org/26953003
</content>
</entry>
<entry>
<title>Apply upstream: [mips] Trap on integer division by zero.</title>
<updated>2013-10-11T00:58:15Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-11T00:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=1b783c13dd573e2611f7fde92e3e66475bdb8918'/>
<id>urn:sha1:1b783c13dd573e2611f7fde92e3e66475bdb8918</id>
<content type='text'>
Cherry-pick r182306 from upstream.

Original commit message:

Author: Akira Hatanaka &lt;ahatanaka@mips.com&gt;
Date:   Mon May 20 18:07:43 2013 +0000

[mips] Trap on integer division by zero.

By default, a teq instruction is inserted after integer divide. No divide-by-zero
checks are performed if option "-mnocheck-zero-division" is used.

TBR= mseaborn@chromium.org, dschuff@chromium.org
BUG= missing trap for MIPS

Review URL: https://codereview.chromium.org/26846007
</content>
</entry>
<entry>
<title>[MIPS] Define PnaclTargetArchitectureMips_32</title>
<updated>2013-10-05T18:21:54Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-10-05T18:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=0588a8b5d075090adb3bd16fafd16a43d6125784'/>
<id>urn:sha1:0588a8b5d075090adb3bd16fafd16a43d6125784</id>
<content type='text'>
LowerNaClTargetArch has to return const PnaclTargetArchitectureMips_32 for
MIPS. The constant is later used in ResolvePNaClIntrinsics pass.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=3602
R=jfb@chromium.org

Review URL: https://codereview.chromium.org/25887007
</content>
</entry>
<entry>
<title>[MIPS] Fix LLVM merge issues</title>
<updated>2013-07-24T00:42:25Z</updated>
<author>
<name>Petar Jovanovic</name>
<email>petar.jovanovic@rt-rk.com</email>
</author>
<published>2013-07-24T00:42:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=c7c01162adebb1df35707a8833ec6e0b1e5eaf6f'/>
<id>urn:sha1:c7c01162adebb1df35707a8833ec6e0b1e5eaf6f</id>
<content type='text'>
Several parts of the already in-place code have been omitted in the previous
merge. These are:

- missing lowering of Intrinsic::nacl_read_tp;
- checks for forbidden instructiosn in branch-delay slots;
- lowering operation for ISD::NACL_TP_TLS_OFFSET and ISD::NACL_TP_TDB_OFFSET.

BUG= https://code.google.com/p/nativeclient/issues/detail?id=2275
TEST= run smoke tests
R=eliben@chromium.org

Review URL: https://codereview.chromium.org/19614006
</content>
</entry>
<entry>
<title>Make it compile</title>
<updated>2013-07-16T17:52:19Z</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@chromium.org</email>
</author>
<published>2013-07-16T17:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=89671101b88b575278760d3dda29571e4fc5ced0'/>
<id>urn:sha1:89671101b88b575278760d3dda29571e4fc5ced0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Trying to get the thing to copmile...</title>
<updated>2013-07-15T23:48:58Z</updated>
<author>
<name>Eli Bendersky</name>
<email>eliben@chromium.org</email>
</author>
<published>2013-07-15T23:48:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp/commit/?id=9ba79618f8267263bc774b104e2b0e469be9dcda'/>
<id>urn:sha1:9ba79618f8267263bc774b104e2b0e469be9dcda</id>
<content type='text'>
</content>
</entry>
</feed>
