Commit Graph

2078 Commits

Author SHA1 Message Date
Gary Guo
8535675a17 Add misaligned benchmarks 2021-08-21 03:03:06 +01:00
Gary Guo
45715eb7f7 Implement word-sized copy 2021-08-21 03:03:06 +01:00
Gary Guo
d282412f70 Add test cases for memcpy, memmove and memset for different alignment 2021-08-21 03:01:39 +01:00
Amanieu d'Antras
4ffaedd2e3 Bump to 0.1.49 2021-07-30 18:49:46 +02:00
Amanieu d'Antras
502370f277 Don't panic if the shift intrinsics receive out-of-range shifts
LLVM sometimes emits calls with out-of-range shifts but then discards
the results. We should avoid panics in these cases.
2021-07-30 00:25:36 +02:00
Amanieu d'Antras
2e7151205e Bump to 0.1.48 2021-07-28 22:30:59 +02:00
Wesley Wiser
ba100707db Don't try to build out-of-line aarch64 atomics with the msvc toolchain
The msvc toolchain does not support building `.s` files, clang only
supports generating out-of-line atomics on Linux and gcc does not
support aarch64 for Windows at all. Therefore, we don't need to compile
`lse.s` on `aarch64-pc-windows-msvc`.
2021-07-28 13:57:03 -04:00
Amanieu d'Antras
b1440f2b0a Bump to 0.1.47 2021-07-14 21:40:46 +02:00
Rich Kadel
6ff8257858 Support long double intrinsics in any aarch64 linux
Expands the support added in #377 from just musl to any linux.

Also checks for and avoids adding duplicate sources.

Fixes #428
2021-07-14 11:17:27 -07:00
SuKiN-a
5428334eaa updated link to musl website 2021-07-09 09:52:08 +05:30
Brian Vincent
5f23bf3c9b Optimize round and roundf 2021-06-30 22:35:47 -05:00
Jethro Beekman
0534e104f3 Update libm 2021-06-25 11:52:14 +02:00
Jethro Beekman
eedfb239a3 Fix substract with borrow in FMA
Fixes rust-lang/libm#242
2021-06-24 15:59:32 +02:00
Jethro Beekman
a9c912c42f Fix build failure with latest nightly 2021-06-24 15:59:32 +02:00
Amanieu d'Antras
bca8bedb93 Bump to 0.1.45 2021-06-04 00:20:57 +01:00
Amanieu d'Antras
77d9a28bbb Fix build on targets with fewer than 3 components in their name 2021-06-03 22:59:34 +01:00
Amanieu d'Antras
da6b017a73 Merge pull request #424 from AaronKutch/issue422
Add public-test-deps feature for better visibility control
2021-06-03 08:03:04 +01:00
Aaron Kutch
fdcc30c3a3 Add public-test-deps feature for better visibility control 2021-06-02 14:13:54 -05:00
Amanieu d'Antras
bc956a7695 Bump to 0.1.44 2021-06-01 19:08:32 +01:00
Tilmann Meyer
31e3ae708c Include Linux atomic emulation on androideabi
The old androideabi uses armv5 and thus also needs the atomic emulation
and because Android is basically Linux it can use the same
implementation.
2021-05-31 16:32:46 +02:00
Yuki Okushi
c041104afd Suppress some warnings 2021-05-31 20:53:15 +09:00
Amanieu d'Antras
924d718511 Bump to 0.1.43 2021-05-13 21:41:46 +01:00
Amanieu d'Antras
1630c86e07 Don't embed lse_*.a inside another static library 2021-05-13 21:35:34 +01:00
Amanieu d'Antras
fcf675bf4a Bump to 0.1.42 2021-05-02 22:12:49 +01:00
Amanieu d'Antras
fdbeb187ec Add missing .att_syntax from #414 2021-05-02 21:29:00 +01:00
Amanieu d'Antras
a77e15f562 Bump to 0.1.41 2021-04-30 21:03:06 +01:00
Josh Triplett
fee637a7b6 Update the version of compiler-rt in CI 2021-04-30 12:24:12 -07:00
Josh Triplett
79c1e33364 Make the name of the intermediate library more closely match the intrinsic 2021-04-30 12:15:32 -07:00
Josh Triplett
df8e6f179a Require lse.S (now available in current LLVM) 2021-04-30 12:15:32 -07:00
Josh Triplett
b9da06f662 Fix typo in instruction name: s/cwp/swp/ 2021-04-30 12:15:32 -07:00
George Burgess IV
5edaec6c97 add support for building outlined aarch64 intrinsics
llvm/llvm-project@a4ac434c47 saw the
addition of out-of-line aarch64 atomic intrinsics. LLVM will sometimes
emit these, so we need to ensure they're included in Rust's compiler-rt.
2021-04-30 12:15:32 -07:00
Amanieu d'Antras
61b2242af9 Fix CI on latest nightly 2021-04-30 19:15:53 +01:00
Amanieu d'Antras
189b987a25 Revert "Disable AArch64 FP-to-int tests"
This reverts commit 9e76b9115fa9571501d378b6329ce557266908b7.
2021-04-23 18:54:12 +01:00
Amanieu d'Antras
79916f0ac8 Bump to 0.1.40 2021-04-11 20:56:38 +01:00
Amanieu d'Antras
22a1874e5d Merge pull request #414 from Amanieu/global_asm
Mark global_asm! code with .att_syntax
2021-04-11 14:51:56 +01:00
Amanieu d'Antras
68df0eb817 Mark global_asm! code with .att_syntax
global_asm! will soon change to use Intel syntax by default.
2021-04-10 19:19:21 +01:00
bjorn3
5dd043525a Fix typo 2021-04-10 16:03:19 +02:00
Scott Mabin
8c4127d044 Add #[linkage = "weak"] attribute to all mem instrinics. 2021-04-04 19:15:33 +01:00
messense
6cd2f3ae40 Add compiler-rt fallbacks on mips64-musl 2021-04-03 11:20:09 +08:00
Amanieu d'Antras
c31c2e0556 Merge pull request #397 from AaronKutch/float_refactor 2021-04-02 23:36:28 +01:00
Aaron Kutch
500c8e0b2c add clippy to CI 2021-04-02 16:53:09 -05:00
Amanieu d'Antras
2608f8392c Replace llvm_asm! with asm! 2021-04-02 20:43:11 +01:00
Aaron Kutch
5221cef1fc Remove rand dependency, update rand_xoshiro 2021-04-02 09:35:01 -05:00
Aaron Kutch
9ae3728e5e fix CTFE cycle 2021-04-02 09:24:00 -05:00
Aaron Kutch
1cf47804df Fix all clippy warnings 2021-04-02 08:58:50 -05:00
Aaron Kutch
1d9d761e9f Fix panic-handler documentation
rust-lang/rust#51647 is fixed but panic-handler is still needed
2021-04-02 08:58:50 -05:00
Aaron Kutch
94af8a8268 Delete redundant tests
The old tests were hacky and did not cover nearly as many cases as the new tests do.
2021-04-02 08:58:50 -05:00
Aaron Kutch
3871282eee fix powi 2021-04-02 08:58:50 -05:00
Aaron Kutch
96a6110d69 add remaining floating point tests 2021-04-02 08:58:50 -05:00
Aaron Kutch
ec4fc5dab5 refactor float conversion 2021-04-02 08:58:50 -05:00