Commit Graph

713 Commits

Author SHA1 Message Date
Alex Crichton ca03cf138a Try to fix Windows 2019-04-02 12:12:29 -07:00
Alex Crichton c880d1ca06 Try to handle thumb targets and xargo 2019-04-02 11:54:20 -07:00
Alex Crichton 89f2b5a8bd Generate a lock file before using Docker
Can't do it in the readonly filesystem inside!
2019-04-02 09:53:05 -07:00
Alex Crichton aa5ff95d7e Don't pass `-it` to docker 2019-04-02 09:35:47 -07:00
Alex Crichton 87154a3e7d Upgrade all docker containers to 18.04 2019-04-02 08:39:19 -07:00
Alex Crichton 8e2f43e400 Expand Azure Pipelines configuration 2019-04-02 08:37:06 -07:00
Alex Crichton 19a2b4fe07 Configure Azure Pipelines 2019-04-02 08:24:11 -07:00
Alex Crichton ef099c7994 Add sample azure pipelines configuration 2019-04-02 07:57:02 -07:00
Alex Crichton a4420e66ad Bump to 0.1.8 2019-03-21 07:52:59 -07:00
Alex Crichton 4078c99f9b
Merge pull request #276 from hug-dev/armv8m-support
Fix compilation errors for Armv8-M Baseline and Mainline with FPU
2019-03-14 09:15:10 -05:00
Hugues de Valon 5d683bafc3 Remove thumbv6m configuration of intrinsic example
It seems that the intrinsics that were generated for the functions in
example/intrinsics.rs where different implementations were given for
thumb6m-none-eabi target, have now been implemented in Rust so
configuration is not needed anymore.
2019-03-14 12:58:29 +00:00
Hugues de Valon 85101f2a47 Fix compilation for thumbv8m.main-none-eabihf
Some files were not assembling for the Armv8-M Mainline architecture
profile with FPU extension. Reason being the same as for Armv7-M: the
conversion intrinsics including double precision floating
point variables do not work with single precision FPUs.
Also removes from exclusion files that are assembling without errors for
Armv7-M and Armv8-M Mainline.
2019-03-14 12:58:29 +00:00
Hugues de Valon c924aed0b9 Fix Armv8-M Baseline compilation
Armv8-M Baseline, ie thumbv8m.base-none-eabi, is a superset of the
Armv6-M architecture profile. As it shares almost the same instruction
set, this commit copies the configuration for thumbv6m-none-eabi to
enable it.
2019-03-14 12:58:23 +00:00
Alex Crichton c8b8087c95 Don't compile memory intrinsics on wasi 2019-03-13 08:23:25 -07:00
Alex Crichton fafaacecd1 Bump to 0.1.7 2019-02-27 12:39:34 -08:00
Alex Crichton 39ad0538f2
Merge pull request #274 from jordanrh1/fix-windows-arm
Fix undefined symbol errors on windows/arm
2019-02-27 14:37:47 -06:00
Jordan Rhee 18cd30009c Bump version to 0.1.6 2019-02-27 11:45:14 -08:00
Jordan Rhee 803d16ee84 Fix undefined symbol errors on windows/arm
Fix undefined symbol linker errors when building rust for windows/arm
by excluding unneeded symbols. The errors are:

  = note: lib.def : error LNK2001: unresolved external symbol __aeabi_memclr4
  lib.def : error LNK2001: unresolved external symbol __aeabi_memclr8
  lib.def : error LNK2001: unresolved external symbol __aeabi_memmove4
  lib.def : error LNK2001: unresolved external symbol __aeabi_memmove8
2019-02-27 11:39:49 -08:00
Alex Crichton b41ba0b570
Merge pull request #273 from MikaelUrankar/freebsd_arm
FreeBSD arm needs clear_cache.c
2019-02-03 08:01:04 +01:00
MikaelUrankar 275b37d66c FreeBSD arm needs clear_cache.c 2019-02-02 19:52:41 +01:00
Alex Crichton 61a3c5a89d
Merge pull request #272 from cyplo/fix-new-nightly
Fix compilation on new nightly.
2019-01-22 09:17:07 -08:00
Cyryl Płotnicki b570ccfd2d Fix compilation on new nightly.
Compilation on rustc 1.33.0-nightly (c76f3c374 2019-01-18) failed with
```
error: the feature `cfg_target_vendor` has been stable since 1.33.0 and no longer requires an attribute to enable
  --> src/lib.rs:19:12
   |
19 | #![feature(cfg_target_vendor)]
   |            ^^^^^^^^^^^^^^^^^
   |
```

Removed the attribute to make it compile.
2019-01-20 09:33:55 +00:00
Alex Crichton fcdf1bcd05
Merge pull request #271 from Lokathor/master
Version Bump for count leading zeros
2019-01-07 13:10:04 -06:00
Lokathor fc3368b558 Perform the correct version bump 2019-01-07 12:08:18 -07:00
Lokathor 008d8d2fc3 Merge branch 'master' of https://github.com/Lokathor/compiler-builtins 2019-01-07 12:07:59 -07:00
Lokathor af2bc8ead6 Version Bump for count leading zeros 2019-01-07 11:52:30 -07:00
Alex Crichton 2378095345
Merge pull request #270 from denzp/master
Don't build compiler-rt for NVPTX
2019-01-07 11:11:19 -06:00
Denys Zariaiev 827f9a8a01 Don't build compiler-rt for NVPTX 2019-01-07 17:16:09 +01:00
Alex Crichton 9710af9a33
Merge pull request #267 from Lokathor/master
Adding __clzsi2
2019-01-07 09:36:45 -06:00
Lokathor 9a68e74ebd Attempt to use `intrinsics!` 2019-01-04 19:17:02 -07:00
Alex Crichton 0c5dffb5ba Bump to 0.1.4 2019-01-03 13:55:02 -08:00
Alex Crichton a19294fd49
Merge pull request #269 from dingelish/master
Fix SGX target_env collision
2019-01-03 15:54:38 -06:00
Yu Ding a9a108548c Fix SGX target_env collision
Signed-off-by: Yu Ding <dingelish@gmail.com>
2019-01-03 12:53:08 -08:00
Lokathor 2e8b85439f Move the test to be a standard test. 2019-01-02 18:50:11 -07:00
Alex Crichton 35d9cc37bb Bump to 0.1.3 2019-01-02 10:21:41 -08:00
Alex Crichton 465ee353f0
Merge pull request #268 from akash-fortanix/sgx-target
expose ceil, floor and trunc on sgx-target
2019-01-02 11:20:10 -06:00
akashfortanix 09a2d437f5 expose ceil, floor and trunc on sgx-target 2018-12-27 19:13:50 +05:30
Lokathor 828c5c6d5f Okay we'll process outputs as all u32 2018-12-21 18:55:01 -07:00
Lokathor d27966f52c Rust and LLVM don't spec the same output types 2018-12-21 18:47:03 -07:00
Lokathor 2afedce8cb forgot the little `.0` part 2018-12-21 18:36:26 -07:00
Lokathor 1e8904e424 64, not 128! 2018-12-21 18:21:47 -07:00
Lokathor c548dc5b34 We can't accept usize directly, i guess accept `MyU64`? 2018-12-21 18:20:59 -07:00
Lokathor e8c09a84f8 trying a test case for clzsi2 2018-12-21 18:10:45 -07:00
Lokathor 4e3fc640df Move clzi2 into the int module 2018-12-21 18:02:12 -07:00
Lokathor a74490a75b modify to fit into standard rustfmt output 2018-12-20 17:53:10 -07:00
Lokathor 3080360beb start of __clzsi2 2018-12-20 17:47:57 -07:00
Alex Crichton 10f4f35f96 Bump to 0.1.2 2018-11-26 12:09:10 -08:00
Alex Crichton 0e86b828fa Merge remote-tracking branch 'origin/rust-llvm-release-8-0-0-v2' 2018-11-26 12:08:13 -08:00
Alex Crichton 8b3d127506 Bump to 0.1.1 2018-11-21 12:57:54 -08:00
Alex Crichton 352f93e2a9 Add a whitelist of included files in packaging 2018-11-21 12:57:39 -08:00