Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emscripten support #107

Merged
merged 2 commits into from
Dec 22, 2015
Merged

Add emscripten support #107

merged 2 commits into from
Dec 22, 2015

Conversation

brson
Copy link
Contributor

@brson brson commented Dec 18, 2015

The triple is asmjs-unknown-emscripten, target_arch = "asmjs", target_os = "emscripten".

@brson brson force-pushed the emscripten branch 2 times, most recently from c1d5ce6 to 52fd9c0 Compare December 18, 2015 00:44
@brson
Copy link
Contributor Author

brson commented Dec 18, 2015

cc @kripken This adds emscripten to rust's C bindings. Just FYI, not much interesting here.

@alexcrichton
Copy link
Member

lgtm, although the CI may barf on trying to generate docs for the emscripten triple if the compiler doesn't recognize it (the triples to document are auto-scraped from the doc attributes in the crate at the top).

alexcrichton added a commit that referenced this pull request Dec 22, 2015
@alexcrichton alexcrichton merged commit fb83189 into rust-lang:master Dec 22, 2015
danielverkamp pushed a commit to danielverkamp/libc that referenced this pull request Apr 28, 2020
- Add docs for the _SIDD_EQUAL_RANGES mode
danielverkamp pushed a commit to danielverkamp/libc that referenced this pull request Apr 28, 2020
* avx: _mm256_loadu_pd

* avx: _mm256_storeu_pd

* avx: _mm256_loadu_ps

* avx: _mm256_storeu_ps

* avx: fix _mm256_storeu_pd and _mm256_storeu_ps

* avx: _mm256_loadu_si256

* avx: _mm256_undefined_si256

* avx: _mm256_maskload_pd

* avx: _mm256_maskstore_pd

* Attempt to fix CI (rust-lang#108)

Need to bring codegen units back to only one for now

* [x86] sse4.2 add docs for _SIDD_EQUAL_RANGES (rust-lang#107)

- Add docs for the _SIDD_EQUAL_RANGES mode

* Add _MM_TRANSPOSE4_PS pseudo-macro. (rust-lang#106)

This adds a strange macro, which I've replaced with a function, because it
seems there are not many better alternatives.

Also adds a test, and `#[allow(non_snake_case)]` to `#[simd_test]`.

* Fix i586 tests

* Implement bitwise SSE ops & _mm_cmp*_ss  (rust-lang#103)

* Add _mm_{and,andnot,or,xor}_ps

* Add _mm_cmpeq_ss

* Add _mm_cmplt_ss

* Add _mm_cmple_ss

* Add _mm_cmpgt_ss

* Add _mm_cmpge_ss

* Add _mm_cmpneq_ss

* Add _mm_cmpnlt_ss

* Add _mm_cmpnle_ss

* Add _mm_cmpngt_ss

* Add _mm_cmpnge_ss

* Add _mm_cmpord_ss

* Add _mm_cmpunord_ss

* Fix _mm_{and,andnot,or,xor}_ps tests for i586

LLVM for i586 doesn't seem to generate `andps`, and instead generates 4
`and`s. Similar for the other operations.

* avx: _mm_maskload_pd

* avx: _mm_maskstore_pd

* avx: _mm256_maskload_ps

* avx: _mm256_maskstore_ps

* avx: _mm_maskload_ps, _mm_maskstore_ps

* avx: _mm256_movehdup_ps

* avx: _mm256_moveldup_ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants