<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emscripten-fastcomp-clang/lib, branch master</title>
<subtitle>emscripten clang</subtitle>
<id>https://git.amat.us/emscripten-fastcomp-clang/atom/lib?h=master</id>
<link rel='self' href='https://git.amat.us/emscripten-fastcomp-clang/atom/lib?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/'/>
<updated>2014-04-25T23:00:38Z</updated>
<entry>
<title>Don't align member functions.</title>
<updated>2014-04-25T23:00:38Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-04-25T23:00:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=364355da26053c321180fa31ecd731d36c4cffae'/>
<id>urn:sha1:364355da26053c321180fa31ecd731d36c4cffae</id>
<content type='text'>
Emscripten uses the ARM ABI for pointers to member functions and doesn't
require that member functions are aligned.
</content>
</entry>
<entry>
<title>Introduce an Emscripten C++ ABI.</title>
<updated>2014-04-25T22:51:06Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-04-25T22:51:06Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=ad32fdb927a37dba26cb8b56f3a6b11667fe6584'/>
<id>urn:sha1:ad32fdb927a37dba26cb8b56f3a6b11667fe6584</id>
<content type='text'>
Emscripten uses the Itanium C++ ABI for most things, except that it uses
ARM C++ ABI pointers to member functions, to avoid the overhead of aligning
functions.
</content>
</entry>
<entry>
<title>set the emscripten backend's atomic widths to 32</title>
<updated>2014-04-10T00:19:03Z</updated>
<author>
<name>Alon Zakai</name>
<email>alonzakai@gmail.com</email>
</author>
<published>2014-04-10T00:19:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=f1e7a40a73073cf492a7411acc049af0c729fe8a'/>
<id>urn:sha1:f1e7a40a73073cf492a7411acc049af0c729fe8a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set the natural stack alignment for asm.js to 16 bytes.</title>
<updated>2014-03-03T23:00:57Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-03-03T22:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=d159899bf2ebd04f7b6620206223d4025cd34c5a'/>
<id>urn:sha1:d159899bf2ebd04f7b6620206223d4025cd34c5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix handling of byval arguments to set the alignment properly.</title>
<updated>2014-03-03T23:00:22Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-03-03T22:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=f92a8f0ef8f7b349d653e97a8fb154719ef6117f'/>
<id>urn:sha1:f92a8f0ef8f7b349d653e97a8fb154719ef6117f</id>
<content type='text'>
Also, fix the way we override DefaultABIInfo methods, since
classifyArgumentType and classifyReturnType are not actually virtual.

Also, DefaultABIInfo does the right thing for floating-point types,
so we don't need to special-case them.
</content>
</entry>
<entry>
<title>Drop addAsmMemoryAroundSyncSynchronize() and asmMemoryIsFence().</title>
<updated>2014-02-28T21:30:42Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@mozilla.com</email>
</author>
<published>2014-02-28T21:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=f59469c5a434866f9a69439555a3684faa16e7fc'/>
<id>urn:sha1:f59469c5a434866f9a69439555a3684faa16e7fc</id>
<content type='text'>
For us, staying in sync with upstream on issues related to the memory model
is more important. None of clang, gcc, nor icc appear to offer these features.

If such features are desirable, they should ideally be implemented in upstream
clang, in a target-independent way, since this issue would affect users of all
platforms which support threads, not just PNaCl or Emscripten.
</content>
</entry>
<entry>
<title>Define an Emscripten toolchain.</title>
<updated>2014-02-25T01:32:55Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@google.com</email>
</author>
<published>2014-02-24T16:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=632c823b8bfd3fd5a4b77628eddd6161c5d8367e'/>
<id>urn:sha1:632c823b8bfd3fd5a4b77628eddd6161c5d8367e</id>
<content type='text'>
This is pretty minimal right now; eventually this may subsume code currently
in the emscripten wrapper scripts.
</content>
</entry>
<entry>
<title>Introduce the asmjs-unknown-emscripten target triple.</title>
<updated>2014-02-25T01:32:54Z</updated>
<author>
<name>Dan Gohman</name>
<email>sunfish@google.com</email>
</author>
<published>2014-02-22T00:09:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=f6e2fddff6294c1c2ec2f9602c30ff680359ed19'/>
<id>urn:sha1:f6e2fddff6294c1c2ec2f9602c30ff680359ed19</id>
<content type='text'>
Notable changes from le32-unknown-nacl so far include:
 - Set i32 as the legal integer set, to help the optimizer avoid creating
   needlessly inefficient code for asm.js.
 - We can use llvm.pow.
 - Don't predefine __ELF__ or __pnacl__ so that we don't need to undefine
   them later.
 - Do predefine asm.js and Emscripten macros, so that we don't need to
   define them later.
 - Don't provide __has_feature(pnacl).
</content>
</entry>
<entry>
<title>Cherrypick upstream r183033: Add support for optimized (non-generic) atomic libcalls.</title>
<updated>2013-11-08T23:52:28Z</updated>
<author>
<name>JF Bastien</name>
<email>jfb@chromium.org</email>
</author>
<published>2013-11-08T23:52:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=a963b803407c9d1cac644cc425004e0ccd28fa45'/>
<id>urn:sha1:a963b803407c9d1cac644cc425004e0ccd28fa45</id>
<content type='text'>
    For integer types of sizes 1, 2, 4 and 8, libcompiler-rt (and libgcc)
    provide atomic functions that pass parameters by value and return
    results directly.

    libgcc and libcompiler-rt only provide optimized libcalls for
    __atomic_fetch_*, as generic libcalls on non-integer types would make
    little sense. This means that we can finally make __atomic_fetch_* work
    on architectures for which we don't provide these operations as builtins
    (e.g. ARM).

    This should fix the dreaded "cannot compile this atomic library call
    yet" error that would pop up once every while.

These code generation issues are encountered because PNaCl doesn't
inline some of the atomic instructions, whereas other targets do. This
patch is just after the 3.3 branch and applies cleanly, but it doesn't
fix all issues: there is still at least one with atomic operations on
pointers which isn't as clean to fix as applying one patch, so I'll
leave that one as-is for now.

R=dschuff@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3623
TEST= ./pnacl/scripts/llvm-test.py --libcxx-tests

Review URL: https://codereview.chromium.org/59793007
</content>
</entry>
<entry>
<title>Cherry-pick upstream clang r193506: "Define [U]LLONG_{MIN,MAX} for C++11, add tests."</title>
<updated>2013-10-28T15:58:05Z</updated>
<author>
<name>JF Bastien</name>
<email>jfb@chromium.org</email>
</author>
<published>2013-10-28T15:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/emscripten-fastcomp-clang/commit/?id=5b8e932d70fcf281e193aebfd0d3ac55d057f2da'/>
<id>urn:sha1:5b8e932d70fcf281e193aebfd0d3ac55d057f2da</id>
<content type='text'>
This is needed for libc++ testing with newlib.

R=dschuff@chromium.org
BUG=  https://code.google.com/p/nativeclient/issues/detail?id=3623
TEST= ./pnacl/scripts/llvm-test.py --libcxx-tests

Review URL: https://codereview.chromium.org/47573003
</content>
</entry>
</feed>
